Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -267,6 +267,9 @@ def extend (module) : | ... | @@ -267,6 +267,9 @@ def extend (module) : |
267 | for n, child in enumerate(children) : | 267 | for n, child in enumerate(children) : |
268 | assign.append("%s=%s.next(%s+%s)" | 268 | assign.append("%s=%s.next(%s+%s)" |
269 | % (child, parent, n, pidcount)) | 269 | % (child, parent, n, pidcount)) |
270 | + for pid in self.pids.killed : | ||
271 | + pidcount = vars.fresh(add=True, base="next_%s" % pid) | ||
272 | + self.pids.next[pid] = pidcount | ||
270 | if guard is None : | 273 | if guard is None : |
271 | guard = snk.Expression("newpids(%s)" % ", ".join(assign)) | 274 | guard = snk.Expression("newpids(%s)" % ", ".join(assign)) |
272 | else : | 275 | else : | ... | ... |
-
Please register or login to post a comment