Re: gethostbyname_r

From: Hajimu UMEMOTO (ume_at_mahoroba.org)
Date: 06/30/03

  • Next message: Bill Paul: "Looking for RealTek 8169-based NIC for testing"
    Date: Tue, 01 Jul 2003 00:03:25 +0900
    To: Stijn Hoop <stijn@win.tue.nl>
    
    

    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/
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Bill Paul: "Looking for RealTek 8169-based NIC for testing"