[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Threads with different fds
- Subject: [ale] Threads with different fds
- From: hirsch at mathcs.emory.edu (Michael Hirsch)
- Date: 18 Aug 1999 14:04:05 -0400
I thought that threads shared file descriptors (fds). So if I look in
proc I should see the same fds in two dirrent threads. How is it
possible that I have a process with a bunch of threads, and all but
one have an identical fd list, and one has a slightly different list?
If a thread opens a fd, do the other threads see it? Or maybe the
proc filesystem isn't clever enough to duplicate the info across all
the threads?
Clues appreciated, thanks.
--
--Michael