mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 01:01:03 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4234 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8500c95ee2
commit
6fab8e2010
1 changed files with 6 additions and 4 deletions
|
@ -4,6 +4,8 @@
|
||||||
Original Author: Scott Christley <scottc@net-community.com>
|
Original Author: Scott Christley <scottc@net-community.com>
|
||||||
Rewritten by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
Rewritten by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
||||||
Created: 1996
|
Created: 1996
|
||||||
|
Rewritten by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
to add optimisations features for faster thread access.
|
||||||
|
|
||||||
This file is part of the GNUstep Objective-C Library.
|
This file is part of the GNUstep Objective-C Library.
|
||||||
|
|
||||||
|
@ -96,7 +98,7 @@ void gnustep_base_thread_callback()
|
||||||
|
|
||||||
// Initialization
|
// Initialization
|
||||||
|
|
||||||
- (void)dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
TEST_RELEASE(_thread_dictionary);
|
TEST_RELEASE(_thread_dictionary);
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
|
@ -123,9 +125,9 @@ void gnustep_base_thread_callback()
|
||||||
return GSCurrentThread();
|
return GSCurrentThread();
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (void) detachNewThreadSelector:(SEL)aSelector
|
+ (void) detachNewThreadSelector: (SEL)aSelector
|
||||||
toTarget:(id)aTarget
|
toTarget: (id)aTarget
|
||||||
withObject:(id)anArgument
|
withObject: (id)anArgument
|
||||||
{
|
{
|
||||||
// Have the runtime detach the thread
|
// Have the runtime detach the thread
|
||||||
if (objc_thread_detach (aSelector, aTarget, anArgument) == NULL)
|
if (objc_thread_detach (aSelector, aTarget, anArgument) == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue