From: bdemsky Date: Mon, 6 Apr 2009 19:57:23 +0000 (+0000) Subject: get rid of error message about needtocollect X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1b4a2d71d7ca698bcb8caf2f6c0211aee91fb1c2;p=IRC.git get rid of error message about needtocollect --- diff --git a/Robust/src/Runtime/garbage.c b/Robust/src/Runtime/garbage.c index eeb2d01e..7b5c9886 100644 --- a/Robust/src/Runtime/garbage.c +++ b/Robust/src/Runtime/garbage.c @@ -39,7 +39,7 @@ extern struct ctable *reverse; extern struct RuntimeHash *fdtoobject; #endif -#if defined(THREADS) || defined(DSTM) +#if defined(THREADS) || defined(DSTM) || defined(SINGLETM) int needtocollect=0; struct listitem * list=NULL; int listcount=0; diff --git a/Robust/src/Runtime/garbage.h b/Robust/src/Runtime/garbage.h index 46495d7d..557365a2 100644 --- a/Robust/src/Runtime/garbage.h +++ b/Robust/src/Runtime/garbage.h @@ -17,7 +17,7 @@ struct listitem { void fixtags(); #endif -#if defined(THREADS)||defined(DSTM) +#if defined(THREADS)||defined(DSTM)||defined(SINGLETM) extern int needtocollect; void checkcollect(void * ptr); struct listitem * stopforgc(struct garbagelist * ptr);