Kristján Valur Jónsson <krist...@ccpgames.com> added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9786> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com