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:46:52 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
15385fdc9296dd1b924c9b82304a6ebdc8b50327
15385fdc
1 parent
c0ae131c
more fix to pid kill
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
snakes/plugins/pids.py
snakes/plugins/pids.py
View file @
15385fd
...
...
@@ -267,6 +267,9 @@ def extend (module) :
for
n
,
child
in
enumerate
(
children
)
:
assign
.
append
(
"
%
s=
%
s.next(
%
s+
%
s)"
%
(
child
,
parent
,
n
,
pidcount
))
for
pid
in
self
.
pids
.
killed
:
pidcount
=
vars
.
fresh
(
add
=
True
,
base
=
"next_
%
s"
%
pid
)
self
.
pids
.
next
[
pid
]
=
pidcount
if
guard
is
None
:
guard
=
snk
.
Expression
(
"newpids(
%
s)"
%
", "
.
join
(
assign
))
else
:
...
...
Please
register
or
login
to post a comment