Will Starms added the comment:
I've realized that my patch may not be ideal for general-purpose use, but it's
a good start for a discussion on the proper way to implement a timeout.
My patch (which is based on a more involved modification to Pool) assumes that
the joins after the
Will Starms added the comment:
A timeout alternative that raises TimeoutError
--
Added file: https://bugs.python.org/file47220/cpython_raise_timeout.patch
___
Python tracker
<https://bugs.python.org/issue31
New submission from Will Starms :
Pool's join function currently (3.6.3) lacks a timeout, which can cause the
managing thread to sleep indefinitely when a pool worker hangs or starts
misbehaving. Adding a timeout allows the owning thread to attempt a join and,
after the timeout, retu