diff options
author | jhb <jhb@FreeBSD.org> | 2007-03-09 16:54:03 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-03-09 16:54:03 +0000 |
commit | bf4e259df634b3fb790a6bcc5a12b27f692b0436 (patch) | |
tree | 148cd069089c4876d10543daef9aa44fec8446be | |
parent | 83009be85d2bcecd40182a6b4bd17afa42265c3b (diff) | |
download | FreeBSD-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).
-rw-r--r-- | share/man/man9/mutex.9 | 6 | ||||
-rw-r--r-- | share/man/man9/rwlock.9 | 6 |
2 files changed, 6 insertions, 6 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 diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9 index 4dcddbc..73bd1ae 100644 --- a/share/man/man9/rwlock.9 +++ b/share/man/man9/rwlock.9 @@ -30,13 +30,13 @@ .Sh NAME .Nm rwlock , .Nm rw_init , +.Nm rw_destroy , .Nm rw_rlock , .Nm rw_wlock , .Nm rw_runlock , .Nm rw_wunlock , .Nm rw_try_upgrade , .Nm rw_downgrade , -.Nm rw_destroy , .Nm rw_initialized , .Nm rw_wowned , .Nm rw_assert , @@ -49,6 +49,8 @@ .Ft void .Fn rw_init "struct rwlock *rw" "const char *name" .Ft void +.Fn rw_destroy "struct rwlock *rw" +.Ft void .Fn rw_rlock "struct rwlock *rw" .Ft void .Fn rw_wlock "struct rwlock *rw" @@ -60,8 +62,6 @@ .Fn rw_try_upgrade "struct rwlock *rw" .Ft void .Fn rw_downgrade "struct rwlock *rw" -.Ft void -.Fn rw_destroy "struct rwlock *rw" .Ft int .Fn rw_initialized "struct rwlock *rw" .Ft int |