diff options
author | jeff <jeff@FreeBSD.org> | 2003-02-16 10:43:06 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-02-16 10:43:06 +0000 |
commit | de87d496d3c8f9ff6c6669d4289e62426e3e6664 (patch) | |
tree | 11416308ca8fefa1d2cefc96a4d688ee570c5b90 /lib/libpthread/thread/thr_exit.c | |
parent | bdd105307471f46e2cca3dd3a5c2ee859c6863ac (diff) | |
download | FreeBSD-src-de87d496d3c8f9ff6c6669d4289e62426e3e6664.zip FreeBSD-src-de87d496d3c8f9ff6c6669d4289e62426e3e6664.tar.gz |
- Introduce a new function bremfreel() that does a bremfree with the buf
queue lock already held.
- In getblk() and flushbufqueues() use bremfreel() while we still have the
buf queue lock held to keep the lists consistent.
- Add LK_NOWAIT to two cases where we're essentially asserting that the bufs
are not locked while acquiring the locks. This will make sure that we get
the appropriate panic() and not another one for sleeping with a lock held.
Diffstat (limited to 'lib/libpthread/thread/thr_exit.c')
0 files changed, 0 insertions, 0 deletions