mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
6530060b65
commit
91d53d6709
3 changed files with 23 additions and 0 deletions
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue