From owner-freebsd-gnome Fri Aug 9 2:20: 7 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECEAC37B400 for ; Fri, 9 Aug 2002 02:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B03E543E65 for ; Fri, 9 Aug 2002 02:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g799K3JU042638 for ; Fri, 9 Aug 2002 02:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g799K37F042637; Fri, 9 Aug 2002 02:20:03 -0700 (PDT) Date: Fri, 9 Aug 2002 02:20:03 -0700 (PDT) Message-Id: <200208090920.g799K37F042637@freefall.freebsd.org> To: gnome@FreeBSD.org Cc: From: Maxim Sobolev Subject: Re: ports/41209: www/mozilla browser serializes DNS lookups (fwd) Reply-To: Maxim Sobolev Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following reply was made to PR ports/41209; it has been noted by GNATS. From: Maxim Sobolev To: Andriy Gapon , freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/41209: www/mozilla browser serializes DNS lookups (fwd) Date: Fri, 09 Aug 2002 12:15:18 +0300 Andriy Gapon wrote: > > Maxim, > > sorry for a chain of mails. In -STABLE both getaddrinfo and getnameinfo > manuals have this comment: > > BUGS > The current implementation is not thread-safe. > > and the code has a number of static variables, although I didn't check > their usage carefully. > What do you think ? Quick look at the code in question left me with impression that those static structures are used as constants, so that there should be no problems. The problem might be that the manpage is quite outdated and doesn't match the reality (check comments at the very top of getaddrinfo.c). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message