Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
snakes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Franck Pommereau
2014-02-12 14:43:17 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0ae131c2f06698dc78617092820a75025000935
c0ae131c
1 parent
b84d6db4
fixed kill in pids
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
snakes/plugins/pids.py
snakes/plugins/pids.py
View file @
c0ae131
...
...
@@ -303,6 +303,10 @@ def extend (module) :
prod
[
child
]
=
snk
.
Tuple
([
snk
.
Variable
(
child
),
snk
.
Value
(
0
)])
for
pid
in
trans
.
pids
.
killed
:
if
pid
not
in
trans
.
pids
.
spawned
:
pidcount
=
trans
.
pids
.
next
[
pid
]
cons
[
pid
]
=
snk
.
Tuple
([
snk
.
Variable
(
pid
),
snk
.
Variable
(
pidcount
)])
prod
.
pop
(
pid
,
None
)
if
len
(
cons
)
>
1
:
self
.
add_input
(
self
.
nextpids
,
trans
.
name
,
...
...
Please
register
or
login
to post a comment