Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
diff 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 |
line diff
1.1 --- a/VSs.c Thu Aug 02 01:03:14 2012 -0700 1.2 +++ b/VSs.c Mon Aug 06 01:14:41 2012 -0700 1.3 @@ -213,19 +213,21 @@ 1.4 for( slotNum = 0; slotNum < NUM_ANIM_SLOTS; ++slotNum ) 1.5 { idleSlv = VMS_int__create_slaveVP(&idle_fn,NULL); 1.6 idleSlv->coreAnimatedBy = coreNum; 1.7 - idleSlv->animSlotAssignedTo = slotNum; 1.8 + idleSlv->animSlotAssignedTo = 1.9 + _VMSMasterEnv->allAnimSlots[coreNum][slotNum]; 1.10 semanticEnv->idleSlv[coreNum][slotNum] = idleSlv; 1.11 1.12 currTaskSlv = VMS_int__create_slaveVP( &idle_fn, NULL ); 1.13 currTaskSlv->coreAnimatedBy = coreNum; 1.14 - currTaskSlv->animSlotAssignedTo = slotNum; 1.15 + currTaskSlv->animSlotAssignedTo = 1.16 + _VMSMasterEnv->allAnimSlots[coreNum][slotNum]; 1.17 semanticEnv->currTaskSlvs[coreNum][slotNum] = currTaskSlv; 1.18 } 1.19 } 1.20 1.21 //create the ready queues, hash tables used for matching and so forth 1.22 semanticEnv->slavesReadyToResumeQ = makeVMSQ(); 1.23 - semanticEnv->extraTaskSlvQ = makeVMSQ(); 1.24 + semanticEnv->freeExtraTaskSlvQ = makeVMSQ(); 1.25 semanticEnv->taskReadyQ = makeVMSQ(); 1.26 1.27 semanticEnv->argPtrHashTbl = makeHashTable32( 16, &VMS_int__free );
