added OSX convenience method

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36966 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2013-08-12 08:56:18 +00:00
parent 6530060b65
commit 91d53d6709
3 changed files with 23 additions and 0 deletions

View file

@ -1303,6 +1303,15 @@ GSRunLoopInfoForThread(NSThread *aThread)
waitUntilDone: aFlag
modes: commonModes()];
}
- (void) performSelectorInBackground: (SEL)aSelector
withObject: (id)anObject
{
[NSThread detachNewThreadSelector: aSelector
toTarget: self
withObject: anObject];
}
@end
/**