diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2006-10-03 02:59:37 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2006-10-03 02:59:37 +0000 |
commit | 985672e305143e6bee0ba4c190b0771bd2f8746e (patch) | |
tree | 7871ff1c7df149af49e577edfd6cd33900013b09 /distrib/sets/lists/base/md.alpha | |
parent | 07706ccde7070f5695b2b92d66775c561609d513 (diff) |
Last Part of file descriptor race and deadlock corrections.
When a fd enters the closing state prevent any threads from
polling the fd and reschedule the thread with the closing_fd
flag set. This fixes a class of deadlocks where a thread is
blocked waiting for data (that may never arrive) and a later
thread calls close() or dup2() on the fd. okay brad@
Diffstat (limited to 'distrib/sets/lists/base/md.alpha')
0 files changed, 0 insertions, 0 deletions