[issue21216] getaddrinfo is wrongly considered thread safe on linux

Gregory P. Smith report at bugs.python.org
Mon Apr 14 20:47:14 CEST 2014


Gregory P. Smith added the comment:

Can you attach some python code that reproduces this for you?  According to both of the references below it doesn't sound like this is supposed to be a problem.

http://pubs.opengroup.org/onlinepubs/9699919799/functions/freeaddrinfo.html claims "The freeaddrinfo() and getaddrinfo() functions shall be thread-safe."

Linux man pages claim "getaddrinfo() is reentrant".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21216>
_______________________________________


More information about the Python-bugs-list mailing list