#if defined(STM)||defined(THREADS)||defined(MLP)
memorybase=NULL;
#endif
-
+
/* Check current stack */
#if defined(THREADS)||defined(DSTM)||defined(STM)||defined(MLP)
{
ENQUEUE(___fcrevert___, ___fcrevert___);
#endif
+#if defined(THREADS)||defined(DSTM)||defined(STM)
+ {
+ int i;
+ stackptr=(struct garbagelist *)global_defs_p;
+ for(i=0; i<stackptr->size; i++) {
+ void * orig=stackptr->array[i];
+ ENQUEUE(orig, stackptr->array[i]);
+ }
+ }
+#endif
+
#ifdef TASK
{
/* Update objectsets */