This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, python-dev, vstinner
Date 2015-12-12.11:26:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Did you consider blocking the signal before spawning the child? I haven’t used signals much, so I could be wrong, but it seems sigwaitinfo() is meant to be called with the signal blocked. Something like this:

pthread_sigmask(SIG_BLOCK, {signum})
    t0 = ...
    ...  # Spawn child, call sigwaitinfo(), etc
    pthread_sigmask(SIG_UNBLOCK, {signum})
self.assertGreaterEqual(dt, ...)
Date User Action Args
2015-12-12 11:26:45martin.pantersetrecipients: + martin.panter, vstinner, python-dev
2015-12-12 11:26:45martin.pantersetmessageid: <>
2015-12-12 11:26:45martin.panterlinkissue25277 messages
2015-12-12 11:26:44martin.pantercreate