From owner-freebsd-hackers Fri May 31 13:56:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from 0lsen.net (12-224-41-96.client.attbi.com [12.224.41.96]) by hub.freebsd.org (Postfix) with ESMTP id 6E51C37B443 for ; Fri, 31 May 2002 13:56:45 -0700 (PDT) Received: by 0lsen.net (Postfix, from userid 1001) id C04CF519; Fri, 31 May 2002 13:56:44 -0700 (PDT) Date: Fri, 31 May 2002 13:56:22 -0700 From: Clint Olsen To: Peter Haight Subject: Re: Is gethostbyname2() reentrant? Message-ID: <20020531205622.GA98217@0lsen.net> References: <200205312050.g4VKofvj057191@wartch.sapros.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205312050.g4VKofvj057191@wartch.sapros.com> User-Agent: Mutt/1.3.27i Organization: NULlsen Network X-Disclaimer: Mutt Bites! 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 On May 31, Peter Haight wrote: > > If I link with libc_r can I use gethostbyname2() at the same time in two > different threads? Pardon my ignorance, but how does re-entrancy affect this? It would seem that you're interested in a function that doesn't block. -Clint To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message