diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2007-02-26 19:07:41 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2007-02-26 19:07:41 +0000 |
| commit | dd348217d74a924e10bfaddd0054aff7933fd7ba (patch) | |
| tree | e0b2441990608ad5fdd03fa5a46acf6fbb2cad50 | |
| parent | 8525230afdff322688792cbc17a9899e7d755659 (diff) | |
Notes
| -rw-r--r-- | share/man/man9/rwlock.9 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9 index 0b6fb0efdb1a..08d147ef257a 100644 --- a/share/man/man9/rwlock.9 +++ b/share/man/man9/rwlock.9 @@ -61,6 +61,8 @@ .Fn rw_initialized "struct rwlock *rw" .Ft void .Fn rw_destroy "struct rwlock *rw" +.Ft int +.Fn rw_wowned "struct rwlock *rw" .Pp .Cd "options INVARIANTS" .Cd "options INVARIANT_SUPPORT" @@ -167,6 +169,10 @@ This functions destroys a lock previously initialized with The .Fa rw lock must be unlocked. +.It Fn rw_wowned "struct rwlock *rw" +This function returns a non-zero value if the current thread owns an +exclusive lock on +.Fa rw . .It Fn rw_assert "struct rwlock *rw" "int what" This function allows assertions specified in .Fa what |
