summaryrefslogtreecommitdiff
path: root/games/arithmetic/arithmetic.6
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2003-02-04 22:14:28 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2003-02-04 22:14:28 +0000
commit5f11a81a04b25b7f64a86ad418f79529df7cae52 (patch)
tree5f656a0decb261f61791bf87d1919c2f25de511a /games/arithmetic/arithmetic.6
parent0691abffebb064ad7318896c4ee8b0a26b049654 (diff)
Part 1 of thread fd handling fixes. In the new scheme fd_table_entries
for dup-ed fds are shared to ensure proper flag handling. A refcnt was added to control when entries should be freed. Specific changes: close: don't free entry unless refcnt is zero dup: rewrite to use new function _thread_fd_table_dup dup2: rewrite to use new function _thread_fd_table_dup fcntl: use _thread_fd_table_dup uthread_fd: initialize thread fd table, searching for dup-ed fds. Add function to share _thread_fd_table entries when an fd is dup-ed. uthread_init: make it readable. Call fd init functions. All current regression tests plus the mysql torture test pass. The new stdfiles regression test fails (I/O redirection problem). Part 2 is intended to fix that problem
Diffstat (limited to 'games/arithmetic/arithmetic.6')
0 files changed, 0 insertions, 0 deletions