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
- Multithread safe gethostbyname() ? Ming Zhang
- Re: Multithread safe gethostbyname() ? Arun Sharma
- Re: Multithread safe gethostbyname() ? Ming Zhang
- Re: Multithread safe gethostbyname() ? Arun Sharma
- Re: Multithread safe gethostbyname() ? John Baldwin
- Re: Multithread safe gethostbyname() ? Dan Moschuk
- Re: Multithread safe gethostbyname() ? John Baldwin
- Re: Multithread safe gethostbyname() ? Tony Finch
- Re: Multithread safe gethostbyname() ? Samuel Tardieu
- Re: Multithread safe gethostbyname() ? Wes Peters
- RE: Multithread safe gethostbyname() ? Charles Randall