1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

Add a note that the spl() API is deprecated in favor of mutexes.

This commit is contained in:
John Baldwin 2000-10-26 23:30:01 +00:00
parent de06f907d1
commit 26fdc7e05b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67665
3 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -39,6 +39,12 @@
.Cd options INVARIANT_SUPPORT
.Fn SPLASSERT 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

View File

@ -24,7 +24,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
.\" "
.\"
.Dd July 21, 1996
.Os
.Dt SPL 9
@ -68,6 +68,12 @@
.Ft void
.Fn splx "intrmask_t ipl"
.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
The
.Fn spl
function family sets the interrupt priority