[issue21822] KeyboardInterrupt during Thread.join hangs that Thread

Antoine Pitrou report at bugs.python.org
Mon Apr 30 17:21:49 EDT 2018


Antoine Pitrou <pitrou at free.fr> added the comment:

> One way to possibly make this work (although perhaps not as clean as may be desired) would be to add polling logic into the thread_nt.h version of PyThread_acquire_lock_timed.

I think adding polling to such a widely-used primitive is out of question.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21822>
_______________________________________


More information about the Python-bugs-list mailing list