summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_sig.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-06-09 23:16:53 +0000
committerjb <jb@FreeBSD.org>1998-06-09 23:16:53 +0000
commit5ed1d7e9485fa8756d1be3fdf6cfa5125ac45657 (patch)
treec9f39941e09a21384d7069520204ca03b7d7b4a3 /lib/libpthread/thread/thr_sig.c
parent4d1f252a4034a0ddbec14c15af2afd1e086f3f91 (diff)
downloadFreeBSD-src-5ed1d7e9485fa8756d1be3fdf6cfa5125ac45657.zip
FreeBSD-src-5ed1d7e9485fa8756d1be3fdf6cfa5125ac45657.tar.gz
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.
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud