[talk] Is getaddrinfo thread-safe on OS X?

Christos Zoulas christos at zoulas.com
Sun Jan 3 10:51:33 EST 2016


On Jan 3, 12:12am, slynch2112 at me.com (Siobhan Lynch) wrote:
-- Subject: Re: [talk] Is getaddrinfo thread-safe on OS X?

| OK I didn=E2=80=99t see that you could;t find it=E2=80=A6. let me see, I wa=
| s;t going to do this, but I=E2=80=99ll delve in=E2=80=A6.=20

You can use the NetBSD:

    http://nxr.netbsd.org/xref/src/tests/lib/libpthread/h_resolv.c test

with a hosts file like the d_mach in the same directory. This does not
test port resolution concurrency though.

christos



More information about the talk mailing list