From owner-freebsd-stable@FreeBSD.ORG Sun Sep 14 17:31:30 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71B5416A4BF for ; Sun, 14 Sep 2003 17:31:30 -0700 (PDT) Received: from ganymede.hub.org (u173n10.eastlink.ca [24.224.173.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D96943FA3 for ; Sun, 14 Sep 2003 17:31:27 -0700 (PDT) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id 69D0534320; Sun, 14 Sep 2003 21:31:22 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 68B0D34304; Sun, 14 Sep 2003 21:31:22 -0300 (ADT) Date: Sun, 14 Sep 2003 21:31:22 -0300 (ADT) From: "Marc G. Fournier" To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: <20030914213107.I82880@ganymede.hub.org> References: <20030913222303.H82880@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-stable@freebsd.org Subject: Re: thread safe functions missing ... ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 00:31:30 -0000 from the 5.x man page: BUGS The current implementation is not thread-safe. On Mon, 15 Sep 2003, Dag-Erling [iso-8859-1] Sm=F8rgrav wrote: > "Marc G. Fournier" writes: > > Your gethostbyname() is _not_ thread-safe > > Use getaddrinfo(3) instead. > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no >