Date: Sun, 20 Sep 1998 12:29:14 +0000 From: Niall Smart <rotel@indigo.ie> To: Terry Lambert <tlambert@primenet.com>, rotel@indigo.ie Cc: info@highwind.com, freebsd-current@FreeBSD.ORG, jb@cimlogic.com.au Subject: Re: HighWind products Message-ID: <199809201129.MAA00530@indigo.ie> In-Reply-To: <199809200926.CAA13557@usr06.primenet.com>; Terry Lambert <tlambert@primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809201129.MAA00530>