Subject: Re: gethostbyname & gethostbyaddr in libc thread-safe yet?
To: None <tech-net@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 05/26/2004 03:46:38
>> The manual page of getaddrinfo is out of date (it is thread-safe in
>> NetBSD-current).
> no, getaddrinfo is not thread-safe yet in netbsd-current. [reason]
I'd still recommend switching to it. Given a choice between two
otherwise more or less equivalent thread-unsafe calls, one of which has
a potentially thread-safe interface, is intended to be thread-safe, and
probably will be soon, isn't it more sensible to use that one?
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B