readdir_r vs readdir in libc_r?

1999-11-13 Thread Charles Randall
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

Re: readdir_r vs readdir in libc_r?

1999-11-13 Thread Daniel Eischen
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