kern/18824: gethostbyname is not thread safe

David Xu davidxu at
Fri Nov 11 00:43:00 PST 2005

Synopsis: gethostbyname is not thread safe

State-Changed-From-To: open->closed
State-Changed-By: davidxu
State-Changed-When: Fri Nov 11 08:40:49 GMT 2005
I think it was fixed in 6.0, it is thread safe:

> These functions use a thread-specific data storage; if the data is needed
> for future use, it should be copied before any subsequent calls overwrite
> it.

More information about the freebsd-threads mailing list