Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jul 2003 00:03:25 +0900
From:      Hajimu UMEMOTO <ume@mahoroba.org>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        hackers@freebsd.org
Subject:   Re: gethostbyname_r
Message-ID:  <ygeisqnip4y.wl%ume@mahoroba.org>
In-Reply-To: <20030630144327.GB11983@pcwin002.win.tue.nl>
References:  <20030630144327.GB11983@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Mon, 30 Jun 2003 16:43:27 +0200
>>>>> Stijn Hoop <stijn@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@mahoroba.org  ume@bisd.hitachi.co.jp  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygeisqnip4y.wl%ume>