Message256278
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})
try:
t0 = ...
... # Spawn child, call sigwaitinfo(), etc
finally:
pthread_sigmask(SIG_UNBLOCK, {signum})
self.assertGreaterEqual(dt, ...) |
|
Date |
User |
Action |
Args |
2015-12-12 11:26:45 | martin.panter | set | recipients:
+ martin.panter, vstinner, python-dev |
2015-12-12 11:26:45 | martin.panter | set | messageid: <1449919605.46.0.714040225275.issue25277@psf.upfronthosting.co.za> |
2015-12-12 11:26:45 | martin.panter | link | issue25277 messages |
2015-12-12 11:26:44 | martin.panter | create | |
|