Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
comparison VSs.h @ 9:832bc715fbf2
Some bug fixes.. not compiling yet
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Mon, 06 Aug 2012 01:14:41 -0700 |
| parents | eb3d77ca9f59 |
| children | b13fbd445e0a ed268fc7376a |
comparison
equal
deleted
inserted
replaced
| 8:3f8f79eead36 | 9:a63d0ab10c53 |
|---|---|
| 180 /* VSsSemReq */; | 180 /* VSsSemReq */; |
| 181 | 181 |
| 182 | 182 |
| 183 typedef struct | 183 typedef struct |
| 184 { | 184 { |
| 185 PrivQueueStruc **slavesReadyToResumeQ; //Shared (slaves not pinned) | 185 PrivQueueStruc *slavesReadyToResumeQ; //Shared (slaves not pinned) |
| 186 PrivQueueStruc **freeExtraTaskSlvQ; //Shared | 186 PrivQueueStruc *freeExtraTaskSlvQ; //Shared |
| 187 PrivQueueStruc *taskReadyQ; //Shared (tasks not pinned) | 187 PrivQueueStruc *taskReadyQ; //Shared (tasks not pinned) |
| 188 SlaveVP *currTaskSlvs[NUM_CORES][NUM_ANIM_SLOTS]; | 188 SlaveVP *currTaskSlvs[NUM_CORES][NUM_ANIM_SLOTS]; |
| 189 HashTable *argPtrHashTbl; | 189 HashTable *argPtrHashTbl; |
| 190 HashTable *commHashTbl; | 190 HashTable *commHashTbl; |
| 191 int32 numLiveExtraTaskSlvs; | 191 int32 numLiveExtraTaskSlvs; |
| 192 int32 numLiveThreadSlvs; | 192 int32 numLiveThreadSlvs; |
| 238 { | 238 { |
| 239 int32 highestTransEntered; | 239 int32 highestTransEntered; |
| 240 TransListElem *lastTransEntered; | 240 TransListElem *lastTransEntered; |
| 241 bool32 needsTaskAssigned; | 241 bool32 needsTaskAssigned; |
| 242 VSsTaskStub *taskStub; | 242 VSsTaskStub *taskStub; |
| 243 VSsSlvType slaveType; | 243 enum VSsSlvType slaveType; |
| 244 } | 244 } |
| 245 VSsSemData; | 245 VSsSemData; |
| 246 | 246 |
| 247 //=========================================================================== | 247 //=========================================================================== |
| 248 | 248 |
| 368 | 368 |
| 369 SlaveVP * | 369 SlaveVP * |
| 370 VSs__create_slave_with_affinity( TopLevelFnPtr fnPtr, void *initData, | 370 VSs__create_slave_with_affinity( TopLevelFnPtr fnPtr, void *initData, |
| 371 SlaveVP *creatingSlv, int32 coreToAssignOnto); | 371 SlaveVP *creatingSlv, int32 coreToAssignOnto); |
| 372 | 372 |
| 373 void | |
| 374 idle_fn(void* data, SlaveVP *animatingSlv); | |
| 373 | 375 |
| 374 //===================== Measurement of Lang Overheads ===================== | 376 //===================== Measurement of Lang Overheads ===================== |
| 375 #include "Measurement/VSs_Measurement.h" | 377 #include "Measurement/VSs_Measurement.h" |
| 376 | 378 |
| 377 //=========================================================================== | 379 //=========================================================================== |
