[issue25868] test_eintr.test_sigwaitinfo() hangs on "AMD64 FreeBSD CURRENT 3.x" buildbot

Martin Panter report at bugs.python.org
Tue Dec 15 05:58:03 EST 2015


Martin Panter added the comment:

You would only block SIGUSR1 (the signal being waited for). SIGALRM would remain unblocked, so the syscall should be interrupted by it.

If everything is working smoothly, you should generally see two SIGALRM interrupts per sleep time, so I don’t think it is worth changing to three.

I guess you could increment a counter in the SIGALRM handler to verify that it gets called multiple times in the vicinity of the sigwaitinfo() call.

----------

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


More information about the Python-bugs-list mailing list