[issue20737] 3.3 _thread lock.acquire() timeout and threading.Event().wait() do not wake for certain values on Windows
Tim Golden
report at bugs.python.org
Wed May 7 18:20:54 CEST 2014
Tim Golden added the comment:
Just to be clear: the change *I'm* proposing for this issue has nothing
to do with limiting the wait, artificially or otherwise. It's simply
undoing an unintended conversion from unsigned to signed and back again,
whicih currently causes any wait of more than 2147 seconds to hang
pretty much indefinitely.
It looks to me as though Kristjan's "4000" is off by an order of
magnitude: the parameter to WaitFor... is a DWORD number of
milliseconds. That allows for 2**31 -1 milliseconds which is something
short of 50 days, I believe.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20737>
_______________________________________
More information about the Python-bugs-list
mailing list