summaryrefslogtreecommitdiffstats
path: root/share/man/man9/spl.9
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-10-26 23:30:01 +0000
committerjhb <jhb@FreeBSD.org>2000-10-26 23:30:01 +0000
commit1b6e7d61e4ebde72abdbe37c90edbdd3a402fe47 (patch)
tree50177f4f1a4a23128c198ea3c9d1d349e7e79203 /share/man/man9/spl.9
parent74403519f9216217fdb0462952ca82f04322c919 (diff)
downloadFreeBSD-src-1b6e7d61e4ebde72abdbe37c90edbdd3a402fe47.zip
FreeBSD-src-1b6e7d61e4ebde72abdbe37c90edbdd3a402fe47.tar.gz
Add a note that the spl() API is deprecated in favor of mutexes.
Diffstat (limited to 'share/man/man9/spl.9')
-rw-r--r--share/man/man9/spl.98
1 files changed, 7 insertions, 1 deletions
diff --git a/share/man/man9/spl.9 b/share/man/man9/spl.9
index 2aa96eb..894afcf 100644
--- a/share/man/man9/spl.9
+++ b/share/man/man9/spl.9
@@ -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
OpenPOWER on IntegriCloud