waiting on an event blocks all signals

alan grow alangrow at gmail.com
Sat May 17 16:14:50 EDT 2008


On Sat, May 17, 2008 at 2:49 PM, John Schroeder <jschroed at gmail.com> wrote:
> ^C only kills the main thread.  Use Control-Break to kill all threads.
>>
>> python -c "import threading; threading.Event().wait()"
>> ^C^C^C^C

There's a single main thread here though. Or am I missing something?



More information about the Python-list mailing list