Making {open,close,read,tell,seek}dir thread-safe.

2000-12-10 Thread Garrett Wollman
On Mon, 04 Dec 2000 16:11:39 -0500, Dan Eischen [EMAIL PROTECTED] said: I started a cleanup of libc to make it thread-safe. Just as a matter of information The seekdir/telldir interface was debated recently by the Austin Group. The Open Group wanted to include it as part of the XSI

Making {open,close,read,tell,seek}dir thread-safe.

2000-12-04 Thread Dan Eischen
I started a cleanup of libc to make it thread-safe. I would like to get rid of the hash table in libc/gen/telldir.c and maintain telldir position information on a per-DIR basis. A summary of the changes are as follows: o Add a LIST_HEAD to DIR to contain a queue of telldir positions.