Some code clean and make the cache adapt version compile
[IRC.git] / Robust / src / Runtime / bamboo / multicoreruntime.h
index a26cf0a26288efc7c4e9a3b9ddbc653975c02306..31ba7d3ca4e8f69696f67454b68c078e70f8af6a 100644 (file)
@@ -7,12 +7,13 @@
 #include "multicoremem.h"
 #include "multicoretask.h"
 #include "multicoremgc.h"
+#include "multicorecache.h"
 
 //Define the following line if the base object type has pointers
 //#define OBJECTHASPOINTERS
 
-
 #ifdef MULTICORE_GC
+extern volatile bool gcflag;
 #define GCCHECK(p) \
   if(gcflag) gc(p)
 #else
@@ -105,7 +106,7 @@ INLINE void terminatememprof(void);
 //                                        send mode                        //
 // BAMBOO_ENTER_SEND_MODE_FROM_RUNTIME(): change to send mode from         //
 //                                        runtime mode                     //
-// BAMBOO_WAITING_FOR_LOCK(): routine executed while waiting for lock      //
+// BAMBOO_WAITING_FOR_LOCK_I(): routine executed while waiting for lock    //
 //                            request response                             //
 // BAMBOO_LOCAL_MEM_CALLOC(x, y): allocate an array of x elements each of  //
 //                                whose size in bytes is y on local memory //