Date: Sat, 13 Nov 1999 11:12:30 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: crandall@matchlogic.com, freebsd-hackers@FreeBSD.ORG Subject: Re: readdir_r vs readdir in libc_r? Message-ID: <199911131612.LAA21693@pcnet1.pcnet.com>
next in thread | raw e-mail | index | archive | help
Alfred Perlstein has ported this from NetBSD along with pthread_cancel support. I'm suppose to be reviewing it - actually I'm done, I've just got to gather my comments and get back to him. I'll get back to him this weekend. > I'm using FreeBSD 3.3-R and have noted that there's a readdir() in libc_r > but no readdir_r(). > > Based on archived messages from last year, it appears that the readir() in > libc_r is not reentrant. To access readdir from multiple threads with > different DIR entries, it appears that all of the directory functions must > be protected by a locking mechanism. > > What is the current status of this? Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911131612.LAA21693>