Message115851
Hm, both the test you mention are using the (non-recursive) lock to synchronize threads. I can't see anything wrong there.
Could you please try to replace the cod in pthread_getspecific() with this:
int err = errno
void *result = pthread_getspecific(key);
errno = err;
return result;
If this fixes those cases, then there is code somewhere that relies on errno being maintained across these calls. |
|
Date |
User |
Action |
Args |
2010-09-08 06:03:46 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, amaury.forgeotdarc, pitrou |
2010-09-08 06:03:45 | kristjan.jonsson | set | messageid: <1283925825.87.0.526505596532.issue9786@psf.upfronthosting.co.za> |
2010-09-08 06:03:44 | kristjan.jonsson | link | issue9786 messages |
2010-09-08 06:03:44 | kristjan.jonsson | create | |
|