Author martin.panter
Recipients bapt, koobs, martin.panter, python-dev, vstinner
Date 2015-12-15.10:58:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2015-12-15 10:58:03martin.pantersetrecipients: + martin.panter, vstinner, python-dev, koobs, bapt
2015-12-15 10:58:03martin.pantersetmessageid: <>
2015-12-15 10:58:03martin.panterlinkissue25868 messages
2015-12-15 10:58:02martin.pantercreate