Message135011
| Author |
vstinner |
| Recipients |
benjamin.peterson, exarkun, gregory.p.smith, loewis, marcin.bachry, pitrou, python-dev, schmichael, spiv, tseaver, vstinner |
| Date |
2011年05月03日.00:08:33 |
| SpamBayes Score |
2.7631022e-05 |
| Marked as misclassified |
No |
| Message-id |
<1304381315.78.0.0727446591342.issue8407@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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]) |
|
History
|
|---|
| 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 |
|