aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/CONDSPLASSERT.9
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-10-26 23:30:01 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-10-26 23:30:01 +0000
commit26fdc7e05b86be524f74e6539a4ee99d00308335 (patch)
treec7bd064b47f840386ce63e64281f61c737aaaac1 /share/man/man9/CONDSPLASSERT.9
parentde06f907d1a4af71fded2aa9252c60fcd5d6995b (diff)
Add a note that the spl() API is deprecated in favor of mutexes.
Notes
Notes: svn path=/head/; revision=67665
Diffstat (limited to 'share/man/man9/CONDSPLASSERT.9')
-rw-r--r--share/man/man9/CONDSPLASSERT.96
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man9/CONDSPLASSERT.9 b/share/man/man9/CONDSPLASSERT.9
index d6cdf03d232f..06e48becf2cb 100644
--- a/share/man/man9/CONDSPLASSERT.9
+++ b/share/man/man9/CONDSPLASSERT.9
@@ -38,6 +38,12 @@
.Cd options INVARIANT_SUPPORT
.Fn CONDSPLASSERT condition level "const char *msg"
.Sh DESCRIPTION
+.Sy This API is deprecated.
+.Sy Use mutexes to protect data structures instead.
+.Sy See
+.Xr mutex 9
+.Sy for more information.
+.Pp
In a kernel compiled with both "options INVARIANTS"
and "options INVARIANT_SUPPORT",
the