diff options
author | jhb <jhb@FreeBSD.org> | 2000-11-15 22:12:33 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-11-15 22:12:33 +0000 |
commit | 57e4266549abe793a547c48132fc450b0caa9c75 (patch) | |
tree | a252f4dd77bf3e7c502edc24969b52c3b559f8c4 /sys/compat/linux/linux_socket.c | |
parent | 3e6befb757fa7e73d343c9a2bc6729eb76cad210 (diff) | |
download | FreeBSD-src-57e4266549abe793a547c48132fc450b0caa9c75.zip FreeBSD-src-57e4266549abe793a547c48132fc450b0caa9c75.tar.gz |
- Add a new macro DROP_GIANT_NOSWITCH() that is similar to DROP_GIANT()
except that it uses the MTX_NOSWITCH flag while it releases Giant via
mtx_exit().
- Add a mtx_recursed() primitive. This primitive should only be used on
a mutex owned by the current process. It will return non-zero if the
mutex is recursively owned, or zero otherwise.
- Add two new flags MA_RECURSED and MA_NOTRECURSED that can be used in
conjuction with MA_OWNED to control the assertion checked by mtx_assert().
- Fix some of the KTR tracepoint strings to use %p when displaying the lock
field of a mutex, which is a uintptr_t.
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
0 files changed, 0 insertions, 0 deletions