[not part of build] since MacOS isn't preemptive, make FASTLOCK a no-op.
git-svn-id: svn://10.0.0.236/trunk@65760 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c95a9c55ef
commit
bb9fac76c4
@ -539,8 +539,13 @@ void GC_print_callers (/* struct callinfo info[NFRAMES] */);
|
||||
# endif
|
||||
# ifdef GENERIC_THREADS
|
||||
# include "generic_threads.h"
|
||||
# define LOCK() GC_generic_locker(GC_generic_mutex);
|
||||
# define UNLOCK() GC_generic_unlocker(GC_generic_mutex);
|
||||
# define LOCK() GC_generic_locker(GC_generic_mutex)
|
||||
# define UNLOCK() GC_generic_unlocker(GC_generic_mutex)
|
||||
# ifdef MACOS
|
||||
# define FASTLOCK()
|
||||
# define FASTLOCK_SUCCEEDED() TRUE
|
||||
# define FASTUNLOCK()
|
||||
# endif /* MACOS */
|
||||
# endif /* GENERIC_THREADS */
|
||||
# ifndef SET_LOCK_HOLDER
|
||||
# define SET_LOCK_HOLDER()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user