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
34f1cd04
Commit
34f1cd04
authored
9 years ago
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix in broker
parent
a56f14de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dream/simulation/OperatedPoolBroker.py
dream/simulation/OperatedPoolBroker.py
+1
-2
No files found.
dream/simulation/OperatedPoolBroker.py
View file @
34f1cd04
...
...
@@ -72,6 +72,7 @@ class Broker(ObjectInterruption):
# TODO: have to signal Router that broker is asking operator, and wait till the Router decides
# =======================================================================
def
run
(
self
):
from
Globals
import
G
while
1
:
# TODO: add new broker event - brokerIsCalled
...
...
@@ -90,8 +91,6 @@ class Broker(ObjectInterruption):
# update the time that the station is waiting for the operator
self
.
timeWaitForOperatorStarted
=
self
.
env
.
now
#===============================================================
from
Globals
import
G
# if the victim already holds an entity that means that the machine's operation type
# is no Load or setup, in that case the router is already invoked and the machine is already assigned an operator
if
not
self
.
victimQueueIsEmpty
():
...
...
This diff is collapsed.
Click to expand it.
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