Subject: Re: BIND 8.3.5
To: Luke Mewburn <lukem@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-net
Date: 06/03/2003 19:16:36
> | bzzt. it's not enough. it calls functions that are not thread safe.
> | (if everyone calls getaddrinfo and getaddrinfo only, it's okay, but
> | in reality that's a crazy assumption)
>(i assume you meant "if everyone calls getaddrinfo and gethostinfo only")
no, i meant "getadddrinfo, and getaddrinfo only".
>any threaded software that calls gethostbyname() or getaddrbyname()
>(et al) should expect that those functions are not, and never have to
>be thread safe.
>
>and NetBSD currently does not have gethostbyname_r()...
>
>so, besides our getaddrinfo() and getnameinfo(), which existing
>non-thread-safe functions need to be?
maybe these are all (i'm digging standards document now), but as
getaddrinfo/getnameinfo needs thread-safe backend anyways, we should
probably provide get*by*_r and such. even if they're not in standards
they are pretty much everywhere.
itojun