mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
* Headers/Additions/GNUstepBase/GSVersionMacros.h: Add
defines for earlier version of Mac OS X back to 10.0. * Source/synchronization.m: Correct a problem found during testing. * Testing/synctest/main.m: Updated test. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27136 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0ac29f22e7
commit
42ce7ccd01
4 changed files with 18 additions and 7 deletions
|
@ -167,6 +167,7 @@ objc_sync_enter(id obj)
|
|||
int status = 0;
|
||||
|
||||
// lock access to the table until we're done....
|
||||
sync_lock_init();
|
||||
objc_mutex_lock(table_lock);
|
||||
|
||||
node = sync_find_node(obj);
|
||||
|
@ -207,6 +208,7 @@ objc_sync_exit(id obj)
|
|||
int status = 0;
|
||||
|
||||
// lock access to the table until we're done....
|
||||
sync_lock_init();
|
||||
objc_mutex_lock(table_lock);
|
||||
|
||||
node = sync_find_node(obj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue