comparison SSR.h @ 22:fef69b887df4

Working version of singleton! Woohoo. Messes with return addr on stack.
author Me
date Sat, 13 Nov 2010 15:19:18 -0800
parents ad29ff7a0209
children a8e41e0bfa61
comparison
equal deleted inserted replaced
8:6361e916c751 9:47984420188c
35 } 35 }
36 SSRTrans; 36 SSRTrans;
37 37
38 typedef struct 38 typedef struct
39 { 39 {
40 void *endInstrAddr;
40 int32 hasBeenStarted; 41 int32 hasBeenStarted;
41 int32 hasFinished; 42 int32 hasFinished;
42 void *endInstrAddr;
43 PrivQueueStruc *waitQ; 43 PrivQueueStruc *waitQ;
44 } 44 }
45 SSRSingleton; 45 SSRSingleton;
46 46
47 enum SSRReqType 47 enum SSRReqType
78 78
79 int32 sizeToMalloc; 79 int32 sizeToMalloc;
80 void *ptrToFree; 80 void *ptrToFree;
81 81
82 int32 singletonID; 82 int32 singletonID;
83 SSRSingleton **singletonAddr; 83 SSRSingleton **singletonPtrAddr;
84 84
85 PtrToAtomicFn fnToExecInMaster; 85 PtrToAtomicFn fnToExecInMaster;
86 void *dataForFn; 86 void *dataForFn;
87 87
88 int32 transID; 88 int32 transID;