From fd22a64c9388df8d1f33553186209210ad6a7159 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sun, 29 Sep 2002 17:14:16 +0000 Subject: [PATCH] sleep(9) was nuked in rev. 1.95 of on 2000/05/27; remove it from manpage too --- share/man/man9/sleep.9 | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index 90f268da59de..131e03ba004c 100644 --- a/share/man/man9/sleep.9 +++ b/share/man/man9/sleep.9 @@ -1,4 +1,4 @@ -.\" $NetBSD: sleep.9,v 1.19 2002/02/13 08:18:51 ross Exp $ +.\" $NetBSD: sleep.9,v 1.20 2002/09/29 17:14:16 jdolecek Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -39,7 +39,6 @@ .Os .Sh NAME .Nm ltsleep , -.Nm sleep , .Nm tsleep , .Nm wakeup .Nd process context sleep and and wakeup @@ -50,15 +49,12 @@ .Ft int .Fn "tsleep" "void *ident" "int priority" "const char *wmesg" "int timo" .Ft void -.Fn "sleep" "void *ident" "int priority" -.Ft void .Fn "wakeup" "void *ident" .Sh DESCRIPTION These functions implement voluntary context switching. -.Fn ltsleep , -.Fn tsleep +.Fn ltsleep and -.Fn sleep +.Fn tsleep are used throughout the kernel whenever processing in the current context can not continue for any of the following reasons: .Bl -bullet -offset indent @@ -153,14 +149,6 @@ ltsleep(ident, priority, wmesg, timo, NULL) .Ed .Pp The -.Fn sleep -function puts the process in an uninterruptible sleep. -It is functionally equivalent to: -.Bd -literal -offset indent -ltsleep(ident, priority \*[Am] PRIMASK, 0, 0, NULL) -.Ed -.Pp -The .Fn wakeup function will mark all processes which are currently sleeping on the identifier .Fa ident