summaryrefslogtreecommitdiffstats
path: root/share/man/man9/mutex.9
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-03-09 16:54:03 +0000
committerjhb <jhb@FreeBSD.org>2007-03-09 16:54:03 +0000
commitbf4e259df634b3fb790a6bcc5a12b27f692b0436 (patch)
tree148cd069089c4876d10543daef9aa44fec8446be /share/man/man9/mutex.9
parent83009be85d2bcecd40182a6b4bd17afa42265c3b (diff)
downloadFreeBSD-src-bf4e259df634b3fb790a6bcc5a12b27f692b0436.zip
FreeBSD-src-bf4e259df634b3fb790a6bcc5a12b27f692b0436.tar.gz
Place mtx_destroy() and rw_destroy() right after mtx_init() and rw_init()
to match sx(9) and condvar(9).
Diffstat (limited to 'share/man/man9/mutex.9')
-rw-r--r--share/man/man9/mutex.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9
index 0856a6c..cf89175 100644
--- a/share/man/man9/mutex.9
+++ b/share/man/man9/mutex.9
@@ -34,6 +34,7 @@
.Sh NAME
.Nm mutex ,
.Nm mtx_init ,
+.Nm mtx_destroy ,
.Nm mtx_lock ,
.Nm mtx_lock_spin ,
.Nm mtx_lock_flags ,
@@ -44,7 +45,6 @@
.Nm mtx_unlock_spin ,
.Nm mtx_unlock_flags ,
.Nm mtx_unlock_spin_flags ,
-.Nm mtx_destroy ,
.Nm mtx_initialized ,
.Nm mtx_owned ,
.Nm mtx_recursed ,
@@ -58,6 +58,8 @@
.Ft void
.Fn mtx_init "struct mtx *mutex" "const char *name" "const char *type" "int opts"
.Ft void
+.Fn mtx_destroy "struct mtx *mutex"
+.Ft void
.Fn mtx_lock "struct mtx *mutex"
.Ft void
.Fn mtx_lock_spin "struct mtx *mutex"
@@ -77,8 +79,6 @@
.Fn mtx_unlock_flags "struct mtx *mutex" "int flags"
.Ft void
.Fn mtx_unlock_spin_flags "struct mtx *mutex" "int flags"
-.Ft void
-.Fn mtx_destroy "struct mtx *mutex"
.Ft int
.Fn mtx_initialized "struct mtx *mutex"
.Ft int
OpenPOWER on IntegriCloud