/* ----------------------------------------------------------------------------
- * $Id: SMP.h,v 1.2 2001/02/08 14:36:21 simonmar Exp $
+ * $Id: SMP.h,v 1.4 2002/02/04 20:10:47 sof Exp $
*
* (c) The GHC Team, 1999
*
#if defined(SMP)
-#if defined(INTERPRETER) \
- || defined(PROFILING) \
- || defined(TICKY_TICKY)
+#if defined(PROFILING) || defined(TICKY_TICKY)
#error Build options incompatible with SMP.
#endif
#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 */