[Patches] [ python-Patches-1088832 ] acknowledge signals in non-main threads
SourceForge.net
noreply at sourceforge.net
Mon Dec 11 05:38:37 CET 2006
Patches item #1088832, was opened at 2004-12-21 06:15
Message generated for change (Settings changed) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1088832&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: Python 2.3
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Andrew Langmead (langmead)
Assigned to: Anthony Baxter (anthonybaxter)
Summary: acknowledge signals in non-main threads
Initial Comment:
When a thread under Python 2.3 produces a synchronous signal
(like a SIGSEGV) the signal is blocked and does not get handled by
the Python interpreter.
Python 2.4 corrected this behavior and signals sent to a thread are
acknowledged, and then handled the signal default behavior unless
overridden with a signal handler. (in which case the python signal
handler is run on the main thread.)
This is a patch for Python 2.3 for proper thread/signal behavior
similar to <https://sourceforge.net/tracker/?
func=detail&aid=960406&group_id=5470&atid=305470>. (This isn't
one of the patches attached to the patch ticket, its the changes that
mwh made in the CVS revisions listed, plus the further corrections
in later revisions of the affected files.)
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2006-12-11 05:38
Message:
Logged In: YES
user_id=21627
Originator: NO
Clearly, the 2.3 branch is closed now, so I'm rejecting this patch.
----------------------------------------------------------------------
Comment By: Michael Hudson (mwh)
Date: 2004-12-21 15:54
Message:
Logged In: YES
user_id=6656
I'd be a little bit scared about applying this patch to the
2.3 branch, to be honest. I wonder what Anthony thinks?
----------------------------------------------------------------------
Comment By: Andrew Langmead (langmead)
Date: 2004-12-21 06:17
Message:
Logged In: YES
user_id=119306
Since mwh did the work for Python 2.4 threading, he might be the best
person to judge this patch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1088832&group_id=5470
More information about the Patches
mailing list