Kristján Valur Jónsson <krist...@ccpgames.com> added the comment:

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.

----------

_______________________________________
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

Reply via email to