[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

Adam Olsen report at bugs.python.org
Mon Dec 14 19:07:49 CET 2009


Adam Olsen <rhamph at gmail.com> added the comment:

The real, OS signal does not get propagated to the main thread.  Only
the python-level signal handler runs from the main thread.

Correctly written programs are supposed to let select block
indefinitely.  This allows them to have exactly 0 CPU usage, especially
important on laptops and other limited power devices.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1975>
_______________________________________


More information about the Python-bugs-list mailing list