From: bdemsky Date: Sun, 3 Apr 2011 04:21:45 +0000 (+0000) Subject: make this work with MGC X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=58a7755e6f8a45cdbf355bb61cae192150394bab;p=IRC.git make this work with MGC --- diff --git a/Robust/src/Runtime/runtime.c b/Robust/src/Runtime/runtime.c index a47d9cd0..3cdfa65b 100644 --- a/Robust/src/Runtime/runtime.c +++ b/Robust/src/Runtime/runtime.c @@ -426,6 +426,7 @@ long long CALL00(___System______currentTimeMillis____) { return retval; } +#ifdef D___System______gc____ void CALL00(___System______gc____) { #if defined(THREADS)||defined(DSTM)||defined(STM)||defined(MLP) while (pthread_mutex_trylock(&gclock)!=0) { @@ -475,6 +476,7 @@ void CALL00(___System______gc____) { pthread_mutex_unlock(&gclock); #endif } +#endif long long CALL00(___System______microTimes____) { struct timeval tv;