On Wed, Dec 09, 2009 at 10:56:58AM +0100, Jonathan Schleifer wrote:

> Am 08.12.2009 um 15:41 schrieb Otto Moerbeek:
> 
> >Nobody did the work yet. If it's very important to you, consider
> >spending effort making it thread safe. I believe netbsd and freebsd
> >have thread safe implementations. But actullay verifying that is
> >pretty hard.
> 
> Yes, the NetBSD implementation is thread-safe since 4.0. For
> FreeBSD, I don't know since which version it is thread-safe, but
> it's thread-safe in recent versions.
> 
> For the verifying part: If the implementation has no side-effects
> (like modifying some global variable that is not per-thread), the
> implementation is thread-safe.

Thank you for your lesson. We're lucky we have a very helpful community.

I still hope that this mailing thread has the nice side-effect of
getting us a verified thread-safe getaddrinfo implementation. 

        -Otto

Reply via email to