projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some code clean and make the cache adapt version compile
[IRC.git]
/
Robust
/
src
/
Runtime
/
bamboo
/
multicoreruntime.h
diff --git
a/Robust/src/Runtime/bamboo/multicoreruntime.h
b/Robust/src/Runtime/bamboo/multicoreruntime.h
index a26cf0a26288efc7c4e9a3b9ddbc653975c02306..31ba7d3ca4e8f69696f67454b68c078e70f8af6a 100644
(file)
--- a/
Robust/src/Runtime/bamboo/multicoreruntime.h
+++ b/
Robust/src/Runtime/bamboo/multicoreruntime.h
@@
-7,12
+7,13
@@
#include "multicoremem.h"
#include "multicoretask.h"
#include "multicoremgc.h"
#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
//Define the following line if the base object type has pointers
//#define OBJECTHASPOINTERS
-
#ifdef MULTICORE_GC
#ifdef MULTICORE_GC
+extern volatile bool gcflag;
#define GCCHECK(p) \
if(gcflag) gc(p)
#else
#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 //
// 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 //
// 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 //