Commit 728fd4f0 authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in ShiftScheduler

parent ea7123b1
......@@ -116,13 +116,9 @@ class ShiftScheduler(ObjectInterruption):
if self.endUnfinished and self.victim.isProcessing:
self.victim.isWorkingOnTheLast=True
self.waitingSignal=True
self.expectedSignals['endedLastProcessing']=1
yield self.victim.endedLastProcessing
self.expectedSignals['endedLastProcessing']=0
transmitter, eventTime=self.victim.endedLastProcessing.value
self.victim.endedLastProcessing=self.env.event()
self.interruptVictim()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment