Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
comparison VSs.c @ 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
| 7:ae096282b759 | 8:5e76e5c2e64b |
|---|---|
| 211 { semanticEnv->coreIsDone[coreNum] = FALSE; //use during shutdown | 211 { semanticEnv->coreIsDone[coreNum] = FALSE; //use during shutdown |
| 212 | 212 |
| 213 for( slotNum = 0; slotNum < NUM_ANIM_SLOTS; ++slotNum ) | 213 for( slotNum = 0; slotNum < NUM_ANIM_SLOTS; ++slotNum ) |
| 214 { idleSlv = VMS_int__create_slaveVP(&idle_fn,NULL); | 214 { idleSlv = VMS_int__create_slaveVP(&idle_fn,NULL); |
| 215 idleSlv->coreAnimatedBy = coreNum; | 215 idleSlv->coreAnimatedBy = coreNum; |
| 216 idleSlv->animSlotAssignedTo = slotNum; | 216 idleSlv->animSlotAssignedTo = |
| 217 _VMSMasterEnv->allAnimSlots[coreNum][slotNum]; | |
| 217 semanticEnv->idleSlv[coreNum][slotNum] = idleSlv; | 218 semanticEnv->idleSlv[coreNum][slotNum] = idleSlv; |
| 218 | 219 |
| 219 currTaskSlv = VMS_int__create_slaveVP( &idle_fn, NULL ); | 220 currTaskSlv = VMS_int__create_slaveVP( &idle_fn, NULL ); |
| 220 currTaskSlv->coreAnimatedBy = coreNum; | 221 currTaskSlv->coreAnimatedBy = coreNum; |
| 221 currTaskSlv->animSlotAssignedTo = slotNum; | 222 currTaskSlv->animSlotAssignedTo = |
| 223 _VMSMasterEnv->allAnimSlots[coreNum][slotNum]; | |
| 222 semanticEnv->currTaskSlvs[coreNum][slotNum] = currTaskSlv; | 224 semanticEnv->currTaskSlvs[coreNum][slotNum] = currTaskSlv; |
| 223 } | 225 } |
| 224 } | 226 } |
| 225 | 227 |
| 226 //create the ready queues, hash tables used for matching and so forth | 228 //create the ready queues, hash tables used for matching and so forth |
| 227 semanticEnv->slavesReadyToResumeQ = makeVMSQ(); | 229 semanticEnv->slavesReadyToResumeQ = makeVMSQ(); |
| 228 semanticEnv->extraTaskSlvQ = makeVMSQ(); | 230 semanticEnv->freeExtraTaskSlvQ = makeVMSQ(); |
| 229 semanticEnv->taskReadyQ = makeVMSQ(); | 231 semanticEnv->taskReadyQ = makeVMSQ(); |
| 230 | 232 |
| 231 semanticEnv->argPtrHashTbl = makeHashTable32( 16, &VMS_int__free ); | 233 semanticEnv->argPtrHashTbl = makeHashTable32( 16, &VMS_int__free ); |
| 232 semanticEnv->commHashTbl = makeHashTable32( 16, &VMS_int__free ); | 234 semanticEnv->commHashTbl = makeHashTable32( 16, &VMS_int__free ); |
| 233 | 235 |
