From b21e529f5363271f159cf4ce451d5ece9e9a18ae Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Wed, 4 May 2016 13:25:51 -0700 Subject: 6840 cv_reltimedwait(9F) doesn't describe the delay argument Reviewed by: Garrett D'Amore Reviewed by: Toomas Soome Approved by: Richard Lowe --- usr/src/man/man9f/condvar.9f | 17 ++++++++++++++--- 1 file 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 @@ -125,6 +125,17 @@ A time, in absolute ticks since boot, when \fBcv_timedwait()\fR or \fBcv_timedwait_sig()\fR should return. .RE +.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 @@ -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 -- cgit v1.2.3