summaryrefslogtreecommitdiffstats
path: root/share/man/man9/lock.9
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2008-02-14 19:39:09 +0000
committerbrueffer <brueffer@FreeBSD.org>2008-02-14 19:39:09 +0000
commitecd7efd2413b82b2b5506ff7046d6b39f9933a8b (patch)
tree447ef94a25e597a1d7434c6218ca1cd01169e6d0 /share/man/man9/lock.9
parent257f2d8fc2d6f9e98f16196ad31a552be87e33f9 (diff)
downloadFreeBSD-src-ecd7efd2413b82b2b5506ff7046d6b39f9933a8b.zip
FreeBSD-src-ecd7efd2413b82b2b5506ff7046d6b39f9933a8b.tar.gz
Some language and mdoc style improvements.
Diffstat (limited to 'share/man/man9/lock.9')
-rw-r--r--share/man/man9/lock.912
1 files changed, 7 insertions, 5 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9
index b165bbe..70959f0 100644
--- a/share/man/man9/lock.9
+++ b/share/man/man9/lock.9
@@ -239,7 +239,7 @@ Assert that the current thread has no lock on the
.Vt lkp
lock pointed to by the first argument.
.It Dv KA_HELD
-Assert that the a not specified thread has a lock on the
+Assert that an unspecified thread has a lock on the
.Vt lkp
lock pointed to by the first argument.
.It Dv KA_UNHELD
@@ -260,16 +260,18 @@ assertion:
Assert that the current thread has a recursed lock on
.Fa lkp .
.It Dv KA_NOTRECURSED
-Assert that the current thread has not a recursed lock on
+Assert that the current thread does not have a recursed lock on
.Fa lkp .
.El
.Pp
-It also worths note that
+Note that
.Dv KA_HELD
and
.Dv KA_UNHELD
-usage is highly discouraged. They are intended to cater a bad behaviour
-introduced by buffer cache locks handling and hopefully they will be
+usage is highly discouraged.
+They are intended to cater a bad behaviour
+introduced by buffer cache lock handling.
+They will hopefully be
made useless by revisiting such locks.
.Sh RETURN VALUES
The
OpenPOWER on IntegriCloud