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:
parent
de06f907d1
commit
26fdc7e05b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67665
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user