mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Use standard locks rathere than obsolete lazy lock classes
This commit is contained in:
parent
6c3d99ea3f
commit
3ced3237e8
17 changed files with 63 additions and 36 deletions
|
@ -74,8 +74,8 @@
|
|||
} while (0);
|
||||
|
||||
#if defined(_REENTRANT)
|
||||
# define THE_LOCK GSLazyRecursiveLock *lock
|
||||
# define CREATELOCK(x) x->lock = [GSLazyRecursiveLock new]
|
||||
# define THE_LOCK NSRecursiveLock *lock
|
||||
# define CREATELOCK(x) x->lock = [NSRecursiveLock new]
|
||||
# define LOCK(x) [x->lock lock]
|
||||
# define UNLOCK(x) [x->lock unlock]
|
||||
# define DESTROYLOCK(x) DESTROY(x->lock)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue