Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff MasterLoop.c @ 27:5a2068cbc28b
MasterLoop -- removed commented out old sched-all-then-queue alg
| author | Me |
|---|---|
| date | Mon, 26 Jul 2010 15:29:26 -0700 |
| parents | 668278fa7a63 |
| children | 0e008278fe3c |
line diff
1.1 --- a/MasterLoop.c Mon Jul 26 15:25:53 2010 -0700 1.2 +++ b/MasterLoop.c Mon Jul 26 15:29:26 2010 -0700 1.3 @@ -163,29 +163,6 @@ 1.4 else 1.5 { masterEnv->numToPrecede = numFilled - NUM_CORES + 1; 1.6 } 1.7 -/* 1.8 - //put some scheduled slaves in, then Master continuation, then rest 1.9 - //Adjust position of master such that it maintains close to a fixed 1.10 - // ratio --> make NUM_CORES - 1 slots or fewer come after the master 1.11 - 1.12 - for( filledSlotIdx = 0; filledSlotIdx < numPrecede; filledSlotIdx++) 1.13 - { 1.14 - writeVMSQ( filledSlots[ filledSlotIdx ]->procrAssignedToSlot, workQ ); 1.15 - } 1.16 - 1.17 - //enqueue continuation of this loop 1.18 - // note that After this enqueue, continuation might sneak through 1.19 - writeVMSQ( masterEnv->masterVirtPr, workQ ); 1.20 - 1.21 - for( filledSlotIdx = numPrecede; 1.22 - filledSlotIdx < numFilled; 1.23 - filledSlotIdx++) 1.24 - { 1.25 - writeVMSQ( filledSlots[ filledSlotIdx ]->procrAssignedToSlot, workQ ); 1.26 - } 1.27 - 1.28 - masterEnv->numFilled = 0; 1.29 -*/ 1.30 1.31 //Save stack ptr and frame -- don't need to, take out later, but safe 1.32 // Also, wait to set stillRunning to FALSE until just before jump, to
