Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
5a5c27bf
Commit
5a5c27bf
authored
Oct 12, 2014
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removeEntity of Queue to update signal flags
parent
6e97a3af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dream/simulation/Queue.py
dream/simulation/Queue.py
+5
-0
No files found.
dream/simulation/Queue.py
View file @
5a5c27bf
...
...
@@ -176,6 +176,11 @@ class Queue(CoreObject):
if
self
.
haveToDispose
():
# self.printTrace(self.id, attemptSignalReceiver='(removeEntity)')
self
.
signalReceiver
()
# reset the signals for the Queue. It be in the start of the loop for now
# xxx consider to dothis in all CoreObjects
self
.
expectedSignals
[
'isRequested'
]
=
1
self
.
expectedSignals
[
'canDispose'
]
=
1
self
.
expectedSignals
[
'loadOperatorAvailable'
]
=
1
# check if the queue is empty, if yes then try to signal the router, operators may need reallocation
try
:
if
self
.
level
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment