New submission from STINNER Victor <victor.stin...@haypocalc.com>:

If a real time signal is raised 2 times whereas the signal is blocked, unblock 
the signal will call the signal handler twice. The C signal handler of the 
Python signal module only stores a boolean to say if the Python signal handler 
should be called or not in Py_CheckSignals().

If the C signal handler is called twice, the Python signal handler is only 
called once.

Attached patch is a draft to fix this issue. The patch is not completly safe.

----------
components: Interpreter Core
files: rt_signal.patch
keywords: patch
messages: 135808
nosy: haypo
priority: normal
severity: normal
status: open
title: Python doesn't support real time signals
versions: Python 3.3
Added file: http://bugs.python.org/file21976/rt_signal.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12060>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to