From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 19 04:30:51 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E03716A4CE for ; Fri, 19 Dec 2003 04:30:51 -0800 (PST) Received: from smtp-relay1.barrysworld.com (ns1.barrysworld.com [213.221.172.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id F341E43D46 for ; Fri, 19 Dec 2003 04:30:49 -0800 (PST) (envelope-from killing@barrysworld.com) Received: from [213.221.181.50] (helo=barrysworld.com) by smtp-relay1.barrysworld.com with esmtp (Exim 4.30) id 1AXJm0-0001af-Sx for freebsd-hackers@freebsd.org; Fri, 19 Dec 2003 12:30:28 +0000 Received: from vader [212.135.219.179] by barrysworld.com with ESMTP (SMTPD32-7.15) id AF75726009C; Fri, 19 Dec 2003 12:30:45 +0000 Message-ID: <00d601c3c62b$e1141930$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: References: <3FE20A5C.2872.92C92363@localhost> <3FE29700.5060505@chuckr.org> Date: Fri, 19 Dec 2003 12:30:24 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: pthread safe name -> address resolution X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Steven Hartland List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 12:30:51 -0000 I've had a dig around but cant find any concrete answer to what to use for name resolution that is pthread safe. A number of people mention getaddrinfo and getipnodebyname but both are doc'd as not being thread safe. Is there a solution to this is do we have to use mutex's? Steve