mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
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:
parent
de87122917
commit
7e6f9f5a71
20 changed files with 363 additions and 121 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue