]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add compile time debug instead of doing this all the time. Reduce the
authorJohn Birrell <jb@FreeBSD.org>
Tue, 9 Jun 1998 23:16:53 +0000 (23:16 +0000)
committerJohn Birrell <jb@FreeBSD.org>
Tue, 9 Jun 1998 23:16:53 +0000 (23:16 +0000)
commita67502218841058625ebd524b04693bee2622955
treedef966acfdb7265657fb5411a62c2e88bd519e2b
parent3411c1060056e46a52d6fbbcf0b172346eecce54
Add compile time debug instead of doing this all the time. Reduce the
time that a thread keeps the file descriptor table locked. In particular,
perform malloc/free calls outside the lock and handle the situation
where two threads can race to initialise the table entry for the same
file descriptor.
lib/libc_r/uthread/uthread_fd.c