From bb9fac76c4b7fde5a496be3fd307eef2993aa44b Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Thu, 13 Apr 2000 03:27:51 +0000 Subject: [PATCH] [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 --- mozilla/gc/boehm/gc_priv.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mozilla/gc/boehm/gc_priv.h b/mozilla/gc/boehm/gc_priv.h index 0a12b5562d5..013d1d975fb 100644 --- a/mozilla/gc/boehm/gc_priv.h +++ b/mozilla/gc/boehm/gc_priv.h @@ -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()