Deleted Added
full compact
sleep.9 (157817) sleep.9 (162404)
1.\"
2.\" Copyright (c) 1996 Joerg Wunsch
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 9 unchanged lines hidden (view full) ---

18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 1996 Joerg Wunsch
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 9 unchanged lines hidden (view full) ---

18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man9/sleep.9 157817 2006-04-17 19:11:12Z jhb $
26.\" $FreeBSD: head/share/man/man9/sleep.9 162404 2006-09-18 15:24:20Z ru $
27.\"
27.\"
28.Dd December 17, 1998
28.Dd April 17, 2006
29.Os
30.Dt SLEEP 9
31.Sh NAME
32.Nm msleep ,
33.Nm msleep_spin ,
34.Nm tsleep ,
35.Nm wakeup
36.Nd wait for events

--- 82 unchanged lines hidden (view full) ---

119then the thread will be made
120runnable with the specified
121.Fa priority
122when it resumes.
123If
124.Fa timo
125is not 0,
126then the thread will sleep for at most
29.Os
30.Dt SLEEP 9
31.Sh NAME
32.Nm msleep ,
33.Nm msleep_spin ,
34.Nm tsleep ,
35.Nm wakeup
36.Nd wait for events

--- 82 unchanged lines hidden (view full) ---

119then the thread will be made
120runnable with the specified
121.Fa priority
122when it resumes.
123If
124.Fa timo
125is not 0,
126then the thread will sleep for at most
127.Fa timo
128\&/ hz seconds.
127.Fa timo No / Va hz
128seconds.
129If the
130.Va Giant
131lock is not held and
132.Fa mtx
133is
134.Dv NULL ,
135then
136.Fa timo

--- 89 unchanged lines hidden ---
129If the
130.Va Giant
131lock is not held and
132.Fa mtx
133is
134.Dv NULL ,
135then
136.Fa timo

--- 89 unchanged lines hidden ---