classification
Title: What should happen to signals when the main thread dies?
Type: feature request Stage:
Components: Interpreter Core Versions: Python 3.2, Python 3.1, Python 3.0, Python 2.7, Python 2.6, Python 2.5, Python 2.4
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: eggy (1)
Priority: Keywords

Created on 2009-06-01 16:01 by eggy, last changed 2009-06-01 16:01 by eggy.

Files
File name Uploaded Description Edit Remove
ignore_signals.py eggy, 2009-06-01 16:01 Ignore signals such as SIGINT
Messages (1)
msg88650 - (view) Author: Mark Florisson (eggy) Date: 2009-06-01 16:01
As signals are only delivered to the main thread, what should happen
when the main thread dies? Currently, the signal mask is not unset in
any other thread, so when the main thread dies, all signals set in the
mask are simply ignored. Perhaps an other thread could be selected as
the main thread?

The accompanied file demonstrates this behavior.
History
Date User Action Args
2009-06-01 16:01:32eggycreate