gethostbyname_r

Hajimu UMEMOTO ume at mahoroba.org
Mon Jun 30 08:03:33 PDT 2003


Hi,

>>>>> On Mon, 30 Jun 2003 16:43:27 +0200
>>>>> Stijn Hoop <stijn at win.tue.nl> said:

stijn> I was wondering if anybody was working on an implementation of a reentrant
stijn> gethostbyname_r function, mostly because it looks like mozilla/firebird will
stijn> finally gain support for an async DNS thread in the near future. However,
stijn> it is claimed in Mozilla's bug reporting system that FreeBSD 5.x doesn't
stijn> have support for this. See

stijn> http://bugzilla.mozilla.org/show_bug.cgi?id=70213#c36

I believe Mozilla uses getipnodeby*() on FreeBSD.  getipnodeby*()
calls do giant lock to expect thread-safe.  So, I believe we don't
need gethostbyname_r() for Mozilla.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume at bisd.hitachi.co.jp  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-hackers mailing list