From b272e466d5c1f63e2aa9cb7558c60156de8d020b Mon Sep 17 00:00:00 2001 From: bdemsky Date: Mon, 4 Apr 2011 01:41:40 +0000 Subject: [PATCH] #ifdef this out if not threads --- Robust/src/Runtime/garbage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Robust/src/Runtime/garbage.c b/Robust/src/Runtime/garbage.c index 8212edb1..7d8c7fde 100644 --- a/Robust/src/Runtime/garbage.c +++ b/Robust/src/Runtime/garbage.c @@ -879,12 +879,14 @@ void restartaftergc() { pthread_mutex_lock(&gclistlock); listcount--; pthread_mutex_unlock(&gclistlock); +#ifdef THREADS #ifdef MAC struct listitem *litem=pthread_getspecific(litemkey); pthread_setspecific(threadlocks,litem->locklist); #else pthread_setspecific(threadlocks,litem.locklist); #endif +#endif } #endif -- 2.34.1