Message143978
| Author |
skrah |
| Recipients |
benjamin.peterson, meador.inge, neologix, skrah, vstinner |
| Date |
2011年09月13日.15:54:03 |
| SpamBayes Score |
0.00013333395 |
| Marked as misclassified |
No |
| Message-id |
<1315929244.05.0.413939328321.issue12936@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think I got it: pthread_setaffinity_np() does not crash.
`man sched_setaffinity` is slightly ambiguous, but there is this remark:
(If you are using the POSIX threads API, then use pthread_setaffinity_np(3)
instead of sched_setaffinity().)
I'm attaching the non-crashing version. |
|