Date: Sat, 13 Nov 1999 08:57:43 -0700 From: Charles Randall <crandall@matchlogic.com> To: freebsd-hackers@freebsd.org Subject: readdir_r vs readdir in libc_r? Message-ID: <64003B21ECCAD11185C500805F31EC0304621DC8@houston.matchlogic.com>
next in thread | raw e-mail | index | archive | help
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? Charles 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?64003B21ECCAD11185C500805F31EC0304621DC8>