From owner-freebsd-current Sun Sep 20 04:37:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA08768 for freebsd-current-outgoing; Sun, 20 Sep 1998 04:37:48 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from indigo.ie (ts02-089.dublin.indigo.ie [194.125.134.219]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08614 for ; Sun, 20 Sep 1998 04:36:39 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id MAA00530; Sun, 20 Sep 1998 12:29:15 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199809201129.MAA00530@indigo.ie> Date: Sun, 20 Sep 1998 12:29:14 +0000 In-Reply-To: <199809200926.CAA13557@usr06.primenet.com>; Terry Lambert Reply-To: rotel@indigo.ie X-Files: The truth is out there X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: Terry Lambert , rotel@indigo.ie Subject: Re: HighWind products Cc: info@highwind.com, freebsd-current@FreeBSD.ORG, jb@cimlogic.com.au Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sep 20, 9:26am, Terry Lambert wrote: } Subject: Re: HighWind products > > } Subject: Re: HighWind products > > > > Looks like readdir() is MT safe anyhow. > > Only if you use seperate DIR descriptors per thread. Yeah, thats a good point, I expect this would be the scenario in most programs, but I can think of some where it wouldn't. It means that implementing readdir_r() is as easy as wrapping readdir() with a lock though. Niall -- Niall Smart, rotel@indigo.ie. Amaze your friends and annoy your enemies: echo '#define if(x) if (!(x))' >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message