[issue21645] asyncio: Race condition in signal handling on FreeBSD

Guido van Rossum report at bugs.python.org
Thu Jul 17 19:43:34 CEST 2014


Guido van Rossum added the comment:

The more esoteric system calls you use the more you end up debugging it on
esoteric platforms. :-(

On Thu, Jul 17, 2014 at 9:17 AM, STINNER Victor <report at bugs.python.org>
wrote:

>
> STINNER Victor added the comment:
>
> > I don't know if it can be useful, but there is also the
> signal.pthread_sigmask() which can be used to "queue" pending signals. (...)
>
> Oh, I didn't remember that I opened the issue #12060 to discuss "real time
> signals". The summary is that the wakeup fd should be used... Which is nice
> because it is the choice made by asyncio ;-)
>
> FYI I also opened the issue #21998: "asyncio: a new self-pipe should be
> created in the child process after fork" which is somehow related to this
> issue.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue21645>
> _______________________________________
>

----------

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


More information about the Python-bugs-list mailing list