Commit 7a306a97 authored by Georgios Dagkakis's avatar Georgios Dagkakis

comments

parent 903bdadc
......@@ -229,7 +229,7 @@ class SkilledRouter(Router):
#===================================================================
# # XXX signal the stations that the assignment is complete
#===================================================================
# the stations that
# if the operator is free the station can be signalled right away
stationsProcessingLast=[]
toBeSignalled=list(self.toBeSignalled)
for station in toBeSignalled:
......@@ -242,6 +242,7 @@ class SkilledRouter(Router):
# signal the station so that it gets the operator
self.signalStation(station, operator)
# else wait for signals that operator became available and signal the stations
self.expectedFinishSignalsDict={}
self.expectedFinishSignals=[]
for station in stationsProcessingLast:
......
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