changes...handle races between coarse and fine grained conflict resolution
[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   BinItem_rcr *ptrarray[RCRSIZE];
17   struct rcrRecord *next;
18 };
19
20 typedef struct SESEstall_t { 
21   SESEcommon common;
22   int size;
23   void * next;
24   struct ___Object___* ___obj___;
25   struct rcrRecord rcrRecords[1];
26   int tag;
27 } SESEstall;
28
29 extern __thread SESEstall stallrecord;
30 #endif