still some bugs...but stall site code generation is in
[IRC.git] / Robust / src / Runtime / oooJava / rcr_runtime.h
1 #ifndef RCR_RUNTIME_H
2 #define RCR_RUNTIME_H
3
4 extern __thread struct trQueue * TRqueue;
5
6 void * workerTR(void *);
7
8 #define RCRSIZE 32
9 #define RUNBIAS 1000000
10
11 struct rcrRecord {
12   int count;
13   int index;
14   int flag;
15   int array[RCRSIZE];
16   struct rcrRecord *next;
17 };
18
19 #define STALLCLASSID 1939921
20
21 typedef struct SESEstall_t { 
22   SESEcommon common;
23   int size;
24   void * next;
25   struct rcrRecord rcrRecords[1];
26   int tag;
27 } SESEstall;
28
29 extern __thread SESEstall stallrecord;
30 #endif