Commit 7132adc8 authored by Denis Bilenko's avatar Denis Bilenko

proc: reuse killall() from greenlet.py (temporarely)

parent 08a258ed
......@@ -208,13 +208,8 @@ class decorate_send(object):
self._event.send((self._tag, value))
def killall(procs, *throw_args):
if not throw_args:
throw_args = (ProcExit, )
for g in procs:
if not g.dead:
core.timer(0, g.throw, *throw_args)
# XXX this killall should actually be aware of link() and use it to avoid polling
killall = greenlet.killall
class NotUsed(object):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment