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
b7472ae0
Commit
b7472ae0
authored
Nov 25, 2014
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction in Machine
parent
faf750af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
dream/simulation/Machine.py
dream/simulation/Machine.py
+4
-6
No files found.
dream/simulation/Machine.py
View file @
b7472ae0
...
@@ -880,9 +880,7 @@ class Machine(CoreObject):
...
@@ -880,9 +880,7 @@ class Machine(CoreObject):
# XXX add the SkilledOperatorRouter to this list and perform the signalling only once
# XXX add the SkilledOperatorRouter to this list and perform the signalling only once
for
interruption
in
(
G
.
ObjectInterruptionList
):
for
interruption
in
(
G
.
ObjectInterruptionList
):
# if the objectInterruption is waiting for a a signal
# if the objectInterruption is waiting for a a signal
if
interruption
.
victim
==
self
and
interruption
.
waitingSignal
:
if
interruption
.
victim
==
self
and
interruption
.
expectedSignals
[
'endedLastProcessing'
]:
# signal it and reset the flags
if
interruption
.
expectedSignals
[
'endedLastProcessing'
]:
self
.
sendSignal
(
receiver
=
self
,
signal
=
self
.
endedLastProcessing
)
self
.
sendSignal
(
receiver
=
self
,
signal
=
self
.
endedLastProcessing
)
interruption
.
waitingSignal
=
False
interruption
.
waitingSignal
=
False
self
.
isWorkingOnTheLast
=
False
self
.
isWorkingOnTheLast
=
False
...
...
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