mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Don't bother trying to register a thread creation callback with libobjc2 - it's never used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30561 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
909c5b4248
commit
5ecda2b311
1 changed files with 4 additions and 0 deletions
|
@ -567,7 +567,11 @@ unregisterActiveThread(NSThread *thread)
|
|||
* if we have become multi-threaded due to a call to the runtime directly
|
||||
* rather than via the NSThread class.
|
||||
*/
|
||||
#if defined(__GNUSTEP_RUNTIME__) || defined(__NEXT_RUNTIME__)
|
||||
gnustep_base_thread_callback();
|
||||
#else
|
||||
objc_set_thread_callback(gnustep_base_thread_callback);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue