diff options
author | jhb <jhb@FreeBSD.org> | 2001-03-06 23:13:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-03-06 23:13:15 +0000 |
commit | 84abec1e650a65db1216a54f1e07c83669defe0e (patch) | |
tree | db3a3db9781dd22d4da6bafa95961a53dd381bca /etc | |
parent | 8e10dd4dec2d9d4df647ee86cc9fd77f62452b6e (diff) | |
download | FreeBSD-src-84abec1e650a65db1216a54f1e07c83669defe0e.zip FreeBSD-src-84abec1e650a65db1216a54f1e07c83669defe0e.tar.gz |
In order to avoid recursing on the backing mutex for sx locks in the
INVARIANTS case, define the actual KASSERT() in _SX_ASSERT_[SX]LOCKED
macros that are used in the sx code itself and convert the
SX_ASSERT_[SX]LOCKED macros to simple wrappers that grab the mutex for the
duration of the check.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions