kern/18824: gethostbyname is not thread safe

David Xu davidxu at FreeBSD.org
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
State-Changed-Why: 
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.


http://www.freebsd.org/cgi/query-pr.cgi?pr=18824


More information about the freebsd-threads mailing list