[New-bugs-announce] [issue12294] multiprocessing.Pool: Need a way to find out if work are finished.

Bugs Fly report at bugs.python.org
Thu Jun 9 15:59:52 CEST 2011


New submission from Bugs Fly <mozbugbox at yahoo.com.au>:

The join() method of Pool blocks. So it is not good for finding out if there are still running workers once the pool is closed.

There should be a method like is_alive() which don't block, similar to what in Process. Or task_left() which return number of task left.

----------
components: Library (Lib)
messages: 137970
nosy: mozbugbox
priority: normal
severity: normal
status: open
title: multiprocessing.Pool: Need a way to find out if work are finished.
type: feature request

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12294>
_______________________________________


More information about the New-bugs-announce mailing list