Message135011
> test_signal.PthreadSigmaskTests fails on Mac OS X.
The problem is that sometimes SIG_UNBLOCK does not immediatly call the pending signal, but it calls it "later". The problem is that I don't know exactly when. I tried to wait the pending signal using signal.pause(), but I got a bus error!?
Example of the problem:
pthread_sigmask(SIG_BLOCK, [SIGUSR1])
os.kill(os.getpid(), SIGUSR1)
pthread_sigmask(SIG_UNBLOCK, [SIGUSR1]) |
|
Date |
User |
Action |
Args |
2011-05-03 00:08:35 | vstinner | set | recipients:
+ vstinner, loewis, gregory.p.smith, spiv, exarkun, tseaver, pitrou, benjamin.peterson, marcin.bachry, schmichael, python-dev |
2011-05-03 00:08:35 | vstinner | set | messageid: <1304381315.78.0.0727446591342.issue8407@psf.upfronthosting.co.za> |
2011-05-03 00:08:33 | vstinner | link | issue8407 messages |
2011-05-03 00:08:33 | vstinner | create | |
|