From owner-freebsd-current Fri Jan 10 13:45:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18F4837B401 for ; Fri, 10 Jan 2003 13:45:39 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C3E743EB2 for ; Fri, 10 Jan 2003 13:45:38 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.6/8.12.6) with ESMTP id h0ALjVTc023438; Fri, 10 Jan 2003 16:45:31 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id h0ALjVQO023437; Fri, 10 Jan 2003 16:45:31 -0500 (EST) Date: Fri, 10 Jan 2003 16:45:30 -0500 From: Craig Rodrigues To: Garrett Wollman Cc: current@FreeBSD.ORG Subject: Re: getpwnam_r missing Message-ID: <20030110214530.GA23411@attbi.com> References: <200301061722.58880.andy@athame.co.uk> <200301061855.h06ItO6N088838@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301061855.h06ItO6N088838@khavrinen.lcs.mit.edu> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jan 06, 2003 at 01:55:24PM -0500, Garrett Wollman wrote: > (We really should figure out how to implement the _r functions, > because a POSIX.1-2001 system with threads is supposed to have them.) How do these functions need to be implemented? Is it sufficient to re-implement the non-reentrant versions of these functions, but avoid using static data variables? Or does there need to be some use of thread mutexes within the function itself? -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message