summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2016-05-04 13:25:51 -0700
committerRobert Mustacchi <rm@joyent.com>2016-05-04 13:25:51 -0700
commitb21e529f5363271f159cf4ce451d5ece9e9a18ae (patch)
tree90f44789891d863fa2e6a9127163e92b8e87cc1b
parent4b31bd29a1057d2aa04778c28370b6211b993555 (diff)
downloadillumos-joyent-b21e529f5363271f159cf4ce451d5ece9e9a18ae.tar.gz
6840 cv_reltimedwait(9F) doesn't describe the delay argument
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r--usr/src/man/man9f/condvar.9f17
1 files changed, 14 insertions, 3 deletions
diff --git a/usr/src/man/man9f/condvar.9f b/usr/src/man/man9f/condvar.9f
index 6766ed8d5b..b09695927a 100644
--- a/usr/src/man/man9f/condvar.9f
+++ b/usr/src/man/man9f/condvar.9f
@@ -1,10 +1,10 @@
'\" te
.\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
-.\" Copyright (c) 2014, Joyent, Inc.
+.\" Copyright 2016 Joyent, Inc.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH CONDVAR 9F "Dec 15, 2003"
+.TH CONDVAR 9F "Mar 29, 2016"
.SH NAME
condvar, cv_init, cv_destroy, cv_wait, cv_signal, cv_broadcast, cv_wait_sig,
cv_timedwait, cv_timedwait_sig \- condition variable routines
@@ -128,6 +128,17 @@ A time, in absolute ticks since boot, when \fBcv_timedwait()\fR or
.sp
.ne 2
.na
+\fB\fIdelta\fR\fR
+.ad
+.RS 11n
+A time, in ticks, to indicate how long \fBcv_reltimedwait()\fR or
+\fBcv_reltimedwait_sig()\fR should wait before returning. Drivers should use
+\fBdrv_usectohz\fR(9F) to determine this value.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fIres\fR\fR
.ad
.RS 11n
@@ -369,7 +380,7 @@ function is provided to detect when signal reception is possible.
.SH SEE ALSO
.LP
\fBkill\fR(2), \fBddi_can_receive_sig\fR(9F), \fBddi_get_lbolt\fR(9F),
-\fBmutex\fR(9F), \fBmutex_init\fR(9F)
+\fBdrv_usectohz\fR(9F) \fBmutex\fR(9F), \fBmutex_init\fR(9F),
.sp
.LP
\fIWriting Device Drivers\fR