From 08141d7755dddaf70b1628d2966342830c9c9dfc Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Sat, 18 Jun 2016 06:48:32 +0000 Subject: tweak previous; ok mglocker --- share/man/man9/usbd_ref_wait.9 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'share/man') diff --git a/share/man/man9/usbd_ref_wait.9 b/share/man/man9/usbd_ref_wait.9 index 479f842dd44..a072b684705 100644 --- a/share/man/man9/usbd_ref_wait.9 +++ b/share/man/man9/usbd_ref_wait.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: usbd_ref_wait.9,v 1.1 2016/06/17 13:23:21 mglocker Exp $ +.\" $OpenBSD: usbd_ref_wait.9,v 1.2 2016/06/18 06:48:31 jmc Exp $ .\" .\" Copyright (c) 2016 Marcus Glocker .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 17 2016 $ +.Dd $Mdocdate: June 18 2016 $ .Dt USBD_REF_WAIT 9 .Os .Sh NAME @@ -33,7 +33,7 @@ The .Fn usbd_ref_wait function is used on a device level to -.Fn tsleep +.Xr tsleep 9 until the reference counter has reached zero. .Pp To increase the reference counter use @@ -46,9 +46,9 @@ will call .Fn wakeup to interrupt the .Fn tsleep -at the point where you have set the +at the point where .Fn usbd_ref_wait -before. +was previously set. .Pp Typical use cases to wait for tasks to complete is at device closing or detachment. @@ -59,6 +59,6 @@ and .Fn usbd_ref_wait can be called during autoconf or from process context. .Sh SEE ALSO -.Xr tsleep 9 , .Xr usb 4 , +.Xr tsleep 9 , .Xr wakeup 9 -- cgit v1.2.3