]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/usleep.3.patch
Libc-339.tar.gz
[apple/libc.git] / gen / FreeBSD / usleep.3.patch
1 --- usleep.3.orig Tue Oct 28 18:01:58 2003
2 +++ usleep.3 Tue Oct 28 18:07:33 2003
3 @@ -37,7 +37,7 @@
4 .Os
5 .Sh NAME
6 .Nm usleep
7 -.Nd suspend process execution for an interval measured in microseconds
8 +.Nd suspend thread execution for an interval measured in microseconds
9 .Sh LIBRARY
10 .Lb libc
11 .Sh SYNOPSIS
12 @@ -47,12 +47,13 @@
13 .Sh DESCRIPTION
14 The
15 .Fn usleep
16 -function suspends execution of the calling process until either
17 +function suspends execution of the calling thread until either
18 .Fa microseconds
19 -microseconds have elapsed or a signal is delivered to the process and its
20 +microseconds have elapsed or a signal is delivered to the thread and its
21 action is to invoke a signal-catching function or to terminate the
22 -process.
23 -System activity may lengthen the sleep by an indeterminate amount.
24 +thread or process.
25 +The actual time slept may be longer, due to system latencies
26 +and possible limitations in the timer resolution of the hardware.
27 .Pp
28 This function is implemented using
29 .Xr nanosleep 2