Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
changeset 271:68212347d1d8 Common_Ancestor
count active VPs for deadlock detection
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 01 Feb 2013 17:16:39 +0100 |
| parents | 104d0b27de12 |
| children | a6005210f581 |
| files | AnimationMaster.c VMS.h |
| diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/AnimationMaster.c Thu Dec 27 12:19:59 2012 +0100 1.2 +++ b/AnimationMaster.c Fri Feb 01 17:16:39 2013 +0100 1.3 @@ -167,6 +167,8 @@ 1.4 //process the requests made by the slave (held inside slave struc) 1.5 (*requestHandler)( currSlot->slaveAssignedToSlot, semanticEnv ); 1.6 1.7 + masterEnv->numAnimatedSlaves--; 1.8 + 1.9 HOLISTIC__Record_AppResponder_end; 1.10 MEAS__endReqHdlr; 1.11 } 1.12 @@ -183,7 +185,7 @@ 1.13 assignedSlaveVP->animSlotAssignedTo = currSlot; 1.14 currSlot->needsSlaveAssigned = FALSE; 1.15 numSlotsFilled += 1; 1.16 - 1.17 + masterEnv->numAnimatedSlaves++; 1.18 HOLISTIC__Record_Assigner_end; 1.19 } 1.20 }
2.1 --- a/VMS.h Thu Dec 27 12:19:59 2012 +0100 2.2 +++ b/VMS.h Fri Feb 01 17:16:39 2013 +0100 2.3 @@ -181,6 +181,7 @@ 2.4 //Slave creation 2.5 int32 numSlavesCreated; //gives ordering to processor creation 2.6 int32 numSlavesAlive; //used to detect fail-safe shutdown 2.7 + int32 numAnimatedSlaves; 2.8 2.9 //Initialization related 2.10 int32 setupComplete; //use while starting up coreCtlr
