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 Condidition.wait(). Patch is attached.

----------
components: Library (Lib)
files: JoinableQueue_with_timeout.patch
keywords: patch
messages: 170812
nosy: legordian
priority: normal
severity: normal
status: open
title: multiprocessing JoinableQueue's join function with timeout
type: enhancement
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file27233/JoinableQueue_with_timeout.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15983>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to