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

Antoine Pitrou report at bugs.python.org
Mon Dec 14 19:17:27 CET 2009

Antoine Pitrou <pitrou at free.fr> 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.

Well, the signals /are/ delivered as far as Python code is concerned. I
don't think Python makes any promise as to the delivery of signals at
the C level.
(actually, the best promise we may make is not to block signal delivery
at all, so that third-party libs or extensions relying on threaded
signal delivery don't break)


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list