Message115836
The code may need a little bit of extra work: The pthreads machine that I have to work with is a PS3 :).
And, despite the documentation not saying, I suspect that pthread_getspecific() actually does mess with "errno", making it necessary to preserve "errno" when calling PyThread_get_key_value(). (The reason for this is documented in thread_nt.h)
I'll do some tests and let you know. |
|
Date |
User |
Action |
Args |
2010-09-08 01:10:42 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, amaury.forgeotdarc, pitrou |
2010-09-08 01:10:42 | kristjan.jonsson | set | messageid: <1283908242.39.0.434460853407.issue9786@psf.upfronthosting.co.za> |
2010-09-08 01:10:39 | kristjan.jonsson | link | issue9786 messages |
2010-09-08 01:10:39 | kristjan.jonsson | create | |
|