Message256451
With the pipe, there is still a potential race after the parent writes to the pipe and before sigwaitinfo() is invoked, versus the child sleep() call.
What do you think of my suggestion to block the signal? Then (in theory) it should be robust, rather than relying on timing.
https://bugs.python.org/issue25277#msg256278 |
|
Date |
User |
Action |
Args |
2015-12-15 10:38:38 | martin.panter | set | recipients:
+ martin.panter, vstinner, python-dev, koobs, bapt |
2015-12-15 10:38:38 | martin.panter | set | messageid: <1450175918.8.0.531507010062.issue25868@psf.upfronthosting.co.za> |
2015-12-15 10:38:38 | martin.panter | link | issue25868 messages |
2015-12-15 10:38:38 | martin.panter | create | |
|