Changes from Frith-Macdonald, NSLock fixes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2791 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1998-04-20 14:13:19 +00:00
parent de87122917
commit 7e6f9f5a71
20 changed files with 363 additions and 121 deletions

View file

@ -116,7 +116,6 @@ static BOOL entered_multi_threaded_state;
start-up, and for thread's created by calling
objc_thread_detach() directly.) */
t = [[NSThread alloc] init];
objc_thread_set_data (t);
return t;
}
@ -196,9 +195,8 @@ static BOOL entered_multi_threaded_state;
{
NSThread *t;
// the the current NSThread
t = objc_thread_get_data ();
assert (t);
// the current NSThread
t = [NSThread currentThread];
// Post the notification
[NotificationDispatcher