]>
Commit | Line | Data |
---|---|---|
3d9156a7 A |
1 | --- /Volumes/XDisk/tmp/Libc/gen/FreeBSD/usleep.3.orig 2002-12-28 16:59:09.000000000 -0800 |
2 | +++ /Volumes/XDisk/tmp/Libc/gen/FreeBSD/usleep.3 2004-10-24 17:08:28.000000000 -0700 | |
59e0d9fe A |
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 |