[Python-Dev] Interrupt thread.join() with Ctrl-C / KeyboardInterrupt on Windows
jonathan at slenders.be
Tue Aug 8 05:54:28 EDT 2017
Is it possible that thread.join() cannot be interrupted on Windows, while
it can be on Linux?
Would this be a bug, or is it by design?
import threading, time
t = threading.Thread(target=wait)
t.join() # Press Control-C now. It stops on Linux, while it hangs on
Tested on Python 3.6.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev