Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff AnimationMaster.c @ 271:68212347d1d8
count active VPs for deadlock detection
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 01 Feb 2013 17:16:39 +0100 |
| parents | f5b110414453 |
| children |
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 }
