NonStarvingEntry updated for the new type of singalling

parent 5f62db39
...@@ -80,5 +80,6 @@ class NonStarvingEntry(Queue): ...@@ -80,5 +80,6 @@ class NonStarvingEntry(Queue):
Globals.setWIP([E]) Globals.setWIP([E])
G.numberOfEntities+=1 G.numberOfEntities+=1
if not self.canDispose.triggered: if not self.canDispose.triggered:
self.canDispose.succeed(self.env.now) succeedTuple=(self, self.env.now)
self.canDispose.succeed(succeedTuple)
\ No newline at end of file
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