On 11/04, Ming Zhang wrote:

| On Solaris there is gethostbyname_r().  Calling gethostbyname() with in
| two threads cause both threads to block.

gethostbyname_r exists, at least in 4.0, but is poorly implemented (it is
in fact not thread safe). However, if you are using 4.0, you should consider
using getipnodebyname(), which is MT-safe and more powerful than the
old gethostbyX functions.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to