[issue21216] getaddrinfo is wrongly considered thread safe on linux

STINNER Victor report at bugs.python.org
Wed Apr 16 09:58:50 CEST 2014


STINNER Victor added the comment:

test_getaddrinfo.c: C program to run getaddrinfo() concurrently in different threads, it comes from the Debian issue.

I ran this program with 10 threads, I stopped it after between 3000 and 5000 tries (depending on the thread). I'm running Fedora 20: Linux kernel 3.13.9-200.fc20.x86_64 and glibc 2.18.

----------
Added file: http://bugs.python.org/file34907/test_getaddrinfo.c

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


More information about the Python-bugs-list mailing list