#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
// 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 //