Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
comparison VSs.h @ 44:7e7f37aa2f61
fix barrier
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 11 Jun 2013 15:40:51 +0200 |
| parents | 37bb39da5ff1 |
| children |
comparison
equal
deleted
inserted
replaced
| 32:dfdecdf74777 | 33:9e58c6d89a37 |
|---|---|
| 169 singleton_fn_end, | 169 singleton_fn_end, |
| 170 singleton_data_start, | 170 singleton_data_start, |
| 171 singleton_data_end, | 171 singleton_data_end, |
| 172 atomic, | 172 atomic, |
| 173 trans_start, | 173 trans_start, |
| 174 trans_end | 174 trans_end, |
| 175 barrier | |
| 175 }; | 176 }; |
| 176 | 177 |
| 177 struct _VSsSemReq | 178 struct _VSsSemReq |
| 178 { enum VSsReqType reqType; | 179 { enum VSsReqType reqType; |
| 179 SlaveVP *callingSlv; | 180 SlaveVP *callingSlv; |
| 213 typedef struct | 214 typedef struct |
| 214 { | 215 { |
| 215 PrivQueueStruc *slavesReadyToResumeQ; //Shared (slaves not pinned) | 216 PrivQueueStruc *slavesReadyToResumeQ; //Shared (slaves not pinned) |
| 216 PrivQueueStruc *freeExtraTaskSlvQ; //Shared | 217 PrivQueueStruc *freeExtraTaskSlvQ; //Shared |
| 217 PrivQueueStruc *taskReadyQ; //Shared (tasks not pinned) | 218 PrivQueueStruc *taskReadyQ; //Shared (tasks not pinned) |
| 219 PrivQueueStruc *barrierQ; | |
| 218 SlaveVP *slotTaskSlvs[NUM_CORES][NUM_ANIM_SLOTS]; | 220 SlaveVP *slotTaskSlvs[NUM_CORES][NUM_ANIM_SLOTS]; |
| 219 HashTable *argPtrHashTbl; | 221 HashTable *argPtrHashTbl; |
| 220 HashTable *commHashTbl; | 222 HashTable *commHashTbl; |
| 221 HashTable *criticalHashTbl; | 223 HashTable *criticalHashTbl; |
| 222 int32 numLiveExtraTaskSlvs; | 224 int32 numLiveExtraTaskSlvs; |
| 228 VSsSingleton fnSingletons[NUM_STRUCS_IN_SEM_ENV]; | 230 VSsSingleton fnSingletons[NUM_STRUCS_IN_SEM_ENV]; |
| 229 VSsTrans transactionStrucs[NUM_STRUCS_IN_SEM_ENV]; | 231 VSsTrans transactionStrucs[NUM_STRUCS_IN_SEM_ENV]; |
| 230 | 232 |
| 231 | 233 |
| 232 bool32 *coreIsDone; | 234 bool32 *coreIsDone; |
| 233 int32 numCoresDone; | |
| 234 | 235 |
| 235 int numInFlightTasks; | 236 int numInFlightTasks; |
| 236 PrivQueueStruc *deferredSubmitsQ; | 237 PrivQueueStruc *deferredSubmitsQ; |
| 237 int numDeferred; | 238 int numDeferred; |
| 238 | 239 |
