Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff SchedulingMaster.c @ 225:309559064073
Working on shutdown bug -- shutdown puts shutdown slaves direct into sched slots
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 15 Mar 2012 04:11:55 -0700 |
| parents | b0b93147adfb |
| children |
line diff
1.1 --- a/SchedulingMaster.c Wed Mar 14 23:21:01 2012 -0700 1.2 +++ b/SchedulingMaster.c Thu Mar 15 04:11:55 2012 -0700 1.3 @@ -114,7 +114,6 @@ 1.4 //GCC may optimize so doesn't always re-define from frame-storage 1.5 masterVP = (SlaveVP*)volatileMasterVP; //just to make sure after jmp 1.6 thisCoresIdx = masterVP->coreAnimatedBy; 1.7 - readyToAnimateQ = masterEnv->readyToAnimateQs[thisCoresIdx]; 1.8 schedSlots = masterEnv->allSchedSlots[thisCoresIdx]; 1.9 1.10 requestHandler = masterEnv->requestHandler; 1.11 @@ -194,7 +193,8 @@ 1.12 else 1.13 { coreIdx++; 1.14 } 1.15 - currQ = _VMSMasterEnv->readyToAnimateQs[coreIdx]; 1.16 + //TODO: fix this for coreCtlr scans slots 1.17 +// currQ = _VMSMasterEnv->readyToAnimateQs[coreIdx]; 1.18 if( numInVMSQ( currQ ) > 0 ) 1.19 { stolenSlv = readVMSQ (currQ ); 1.20 break; 1.21 @@ -304,7 +304,8 @@ 1.22 else 1.23 { coreIdx++; 1.24 } 1.25 - victimsQ = _VMSMasterEnv->readyToAnimateQs[coreIdx]; 1.26 + //TODO: fix this for coreCtlr scans slots 1.27 +// victimsQ = _VMSMasterEnv->readyToAnimateQs[coreIdx]; 1.28 if( numInVMSQ( victimsQ ) > 0 ) 1.29 { haveAVictim = TRUE; 1.30 vicGate = _VMSMasterEnv->workStealingGates[ coreIdx ];
