remove obsolete code

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32467 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-03-06 05:18:01 +00:00
parent 9be686a44a
commit 632f053008
2 changed files with 4 additions and 8 deletions

View file

@ -1,3 +1,7 @@
2011-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: remove obsolete call to objc_set_thread_callback().
2011-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInternal.h:

View file

@ -527,14 +527,6 @@ unregisterActiveThread(NSThread *thread)
[NSThread _createThreadForCurrentPthread];
defaultThread = [NSThread currentThread];
/*
* The objc runtime calls this callback AFTER creating a new thread -
* which is not correct for us, but does at least mean that we can tell
* if we have become multi-threaded due to a call to the runtime directly
* rather than via the NSThread class.
*/
objc_set_thread_callback(gnustep_base_thread_callback);
}
}