[issue15983] multiprocessing JoinableQueue's join function with timeout

2014-06-22 Thread Tumer Topcu
Changes by Tumer Topcu tum...@gmail.com: -- nosy: +tumert, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15983 ___ ___ Python-bugs-list

[issue15983] multiprocessing JoinableQueue's join function with timeout

2014-06-22 Thread Tumer Topcu
Changes by Tumer Topcu tum...@gmail.com: -- nosy: +trent ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15983 ___ ___ Python-bugs-list mailing list

[issue15983] multiprocessing JoinableQueue's join function with timeout

2014-06-22 Thread Tumer Topcu
Tumer Topcu added the comment: Another option is instead of adding a timeout parameter, a new function to check if everything is done. Like: def all_tasks_finished(self) return self._unfinished_tasks._semlock._is_zero() Which can then be utilized exactly shown in the above noted

[issue15983] multiprocessing JoinableQueue's join function with timeout

2012-09-21 Thread Richard Oudkerk
Richard Oudkerk added the comment: I notice that queue.Queue.join() does not have a timeout parameter either. Have you hit a particular problem that would be substantially easier with the patch? -- versions: -Python 2.7, Python 3.2, Python 3.3 ___

[issue15983] multiprocessing JoinableQueue's join function with timeout

2012-09-21 Thread Karl Bicker
Karl Bicker added the comment: Actually, I would like to check if the threads working on the queue are still alive. However, it occurs to me now that I would need a facility to distinguish between a timeout and an actual join. Unfortunately, my original patch does not provide this, one

[issue15983] multiprocessing JoinableQueue's join function with timeout

2012-09-20 Thread Karl Bicker
New submission from Karl Bicker: The multiprocessing.JoinableQueue's function join() should have a timeout argument so that one can check on other things while waiting for a queue to finish. As join() uses a condition to wait anyway, a timeout is easily implemented and passed to the

[issue15983] multiprocessing JoinableQueue's join function with timeout

2012-09-20 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15983 ___ ___

[issue15983] multiprocessing JoinableQueue's join function with timeout

2012-09-20 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- nosy: +sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15983 ___ ___ Python-bugs-list mailing