summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-05-16 15:52:32 +0000
committerjhb <jhb@FreeBSD.org>2003-05-16 15:52:32 +0000
commit15ba1fce6fb3bfeb0574fa854d8ea47dada7e85b (patch)
treedbfde9230218b8d971a20a26e508e028d57eba68 /share/man
parent85ab052a63e1e3ebdde18224a05b2cb32ac0a054 (diff)
downloadFreeBSD-src-15ba1fce6fb3bfeb0574fa854d8ea47dada7e85b.zip
FreeBSD-src-15ba1fce6fb3bfeb0574fa854d8ea47dada7e85b.tar.gz
- Use better terminology when describing mutex operations in msleep(9)'s
description. - Remove some bogus commas. - Use the past tense when referring to the removal of the sleep() function since it happened quite a while ago and since the previous sentence in the paragraph already uses the past tense. Approved by: re (rwatson)
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/sleep.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9
index 0954ae2..272642f 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -117,7 +117,7 @@ The
function is a variation on tsleep.
The parameter
.Ar mtx
-is a mutex, which will be exited before sleeping, and entered before
+is a mutex which will be released before sleeping and reacquired before
.Fn msleep
returns.
If
@@ -126,7 +126,7 @@ includes the
.Dv PDROP
flag, the
.Ar mtx
-parameter will not be entered before returning.
+parameter will not be reacquired before returning.
The mutex is
used to ensure that a condition can be checked atomically, and
that the current process can be suspended without missing a
@@ -151,9 +151,9 @@ function appeared in
The
.Fn sleep
function used to be the traditional form.
-It does not let you specify a timeout or a
+It did not let you specify a timeout or a
.Ar wmesg ,
-hence it has been discontinued.
+hence it was discontinued.
.Sh AUTHORS
.An -nosplit
This man page was written by
OpenPOWER on IntegriCloud