From: bdemsky Date: Mon, 4 Apr 2011 01:41:40 +0000 (+0000) Subject: #ifdef this out if not threads X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b272e466d5c1f63e2aa9cb7558c60156de8d020b;p=IRC.git #ifdef this out if not threads --- 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