X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FSMP.h;h=319f51022056035ab5cd5f90fd2d8ede9235bb65;hb=bfd84739bc57ca094cecce331a72fcb0e720304b;hp=0f15aa06a0b184953cd994cf9b548ad73ce61289;hpb=e778a17045aac8aded0e0438f5e0178643ff678d;p=ghc-hetmet.git diff --git a/ghc/includes/SMP.h b/ghc/includes/SMP.h index 0f15aa0..319f510 100644 --- a/ghc/includes/SMP.h +++ b/ghc/includes/SMP.h @@ -1,5 +1,5 @@ /* ---------------------------------------------------------------------------- - * $Id: SMP.h,v 1.3 2001/02/09 13:09:17 simonmar Exp $ + * $Id: SMP.h,v 1.4 2002/02/04 20:10:47 sof Exp $ * * (c) The GHC Team, 1999 * @@ -74,15 +74,10 @@ #define LOCK_THUNK(__info) \ CMPXCHG(R1.cl->header.info, __info, &stg_WHITEHOLE_info); -#define ACQUIRE_LOCK(mutex) pthread_mutex_lock(mutex); -#define RELEASE_LOCK(mutex) pthread_mutex_unlock(mutex); - #else /* !SMP */ #define LOCK_CLOSURE(c) /* nothing */ #define LOCK_THUNK(__info) /* nothing */ -#define ACQUIRE_LOCK(mutex) /* nothing */ -#define RELEASE_LOCK(mutex) /* nothing */ #endif /* SMP */