From owner-freebsd-hackers Sat Jun 1 10:50: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id B92A137B400 for ; Sat, 1 Jun 2002 10:49:59 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 6F7BC5307; Sat, 1 Jun 2002 19:49:58 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Peter Haight Cc: hackers@freebsd.org Subject: Re: Is gethostbyname2() reentrant? References: <200205312050.g4VKofvj057191@wartch.sapros.com> From: Dag-Erling Smorgrav Date: 01 Jun 2002 19:49:57 +0200 In-Reply-To: <200205312050.g4VKofvj057191@wartch.sapros.com> Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Haight writes: > If I link with libc_r can I use gethostbyname2() at the same time in two > different threads? Use getaddrinfo() instead. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message