Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison AnimationMaster.c @ 287:15ee3fe10e3d
Fixed issue with meta tasks -- in slot slave, have to replace previous
Also fixed give taskID, and added SS give num cores
added "replace or insert into collection" so that prev meta task is replaced
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 05 Sep 2013 17:38:19 -0700 |
| parents | 2fc69e6c14ea |
| children | 744b5ff9851e |
comparison
equal
deleted
inserted
replaced
| 20:7d1faa0b41f5 | 23:c0bd243bbe3e |
|---|---|
| 8 | 8 |
| 9 #include <stdio.h> | 9 #include <stdio.h> |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| 11 | 11 |
| 12 #include "PR.h" | 12 #include "PR.h" |
| 13 #include "VSs_impl/VSs.h" | |
| 14 | 13 |
| 15 //========================= Local Declarations ======================== | 14 //========================= Local Declarations ======================== |
| 16 inline PRProcess * | 15 inline PRProcess * |
| 17 pickAProcess( AnimSlot *slot ); | 16 pickAProcess( AnimSlot *slot ); |
| 18 inline bool32 | 17 inline bool32 |
| 72 //NOTE: left over from when had a coreController & MasterVP managed | 71 //NOTE: left over from when had a coreController & MasterVP managed |
| 73 // several slots | 72 // several slots |
| 74 if( slot->workIsDone ) | 73 if( slot->workIsDone ) |
| 75 { slot->workIsDone = FALSE; | 74 { slot->workIsDone = FALSE; |
| 76 slot->needsWorkAssigned = TRUE; | 75 slot->needsWorkAssigned = TRUE; |
| 77 printf("top handle request: %d | reqType: %d\n", slot->coreSlotIsOn, (int32)req->reqType );fflush(stdin); | 76 //printf("top handle request: %d | reqType: %d\n", slot->coreSlotIsOn, (int32)req->reqType );fflush(stdin); |
| 78 | 77 |
| 79 //An Idle VP has no request to handle, so skip to assign.. | 78 //An Idle VP has no request to handle, so skip to assign.. |
| 80 if( slot->slaveAssignedToSlot->typeOfVP != IdleVP && | 79 if( slot->slaveAssignedToSlot->typeOfVP != IdleVP && |
| 81 slot->slaveAssignedToSlot->typeOfVP != ShutdownVP) | 80 slot->slaveAssignedToSlot->typeOfVP != ShutdownVP) |
| 82 { | 81 { |
