summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-06-16 15:47:45 +0000
committerru <ru@FreeBSD.org>2004-06-16 15:47:45 +0000
commit4a2b1c0775f84a90e97174c7e9d63a07fb1faa16 (patch)
tree90091bc5aca76125deeb9dcde4487e97332739e2 /share/man/man9
parentc2c39c895678d3e7ac762a0370704c00a5f851bb (diff)
downloadFreeBSD-src-4a2b1c0775f84a90e97174c7e9d63a07fb1faa16.zip
FreeBSD-src-4a2b1c0775f84a90e97174c7e9d63a07fb1faa16.tar.gz
Tiny markup fixes.
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/sleepqueue.912
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/sleepqueue.9 b/share/man/man9/sleepqueue.9
index f5fefe0..81fc2e3 100644
--- a/share/man/man9/sleepqueue.9
+++ b/share/man/man9/sleepqueue.9
@@ -154,7 +154,7 @@ The
.Fa flags
parameter currently only specifies the type of sleep queue being slept on.
A value of
-.Dv 0
+0
indicates a sleep queue used by
.Xr msleep 9
and a value of
@@ -209,7 +209,7 @@ When the thread is resumed,
the wait functions return a non-zero value if the thread was awakened due to
an interrupt other than a signal or a timeout.
If the sleep timed out, then
-.Dv EWOULDBLOCK
+.Er EWOULDBLOCK
is returned.
If the sleep was interrupted by something other than a signal,
then some other return value will be returned.
@@ -220,9 +220,9 @@ should be called to determine if the sleep was interrupted by a signal.
If so,
.Fn sleepq_calc_signal_retval
returns
-.Dv ERESTART
+.Er ERESTART
if the interrupting signal is restarable and
-.Dv EINTR
+.Er EINTR
otherwise.
If the sleep was not interrupted by a signal,
.Fn sleepq_calc_signal_retval
@@ -250,7 +250,7 @@ argument passed to
by the threads sleeping on the wait channel.
If the
.Fa pri
-argument does not equal -1,
+argument does not equal \-1,
then each thread that is awakened will have its priority raised to
.Fa pri
if it has a lower priority.
@@ -290,7 +290,7 @@ interfaces.
Almost all other code in the kernel should use one of those interfaces rather
than manipulating sleep queues directly.
.Sh SEE ALSO
-.Xr msleep 9 ,
.Xr condvar 9 ,
+.Xr msleep 9 ,
.Xr runqueue 9 ,
.Xr scheduler 9
OpenPOWER on IntegriCloud