In nanosleep(2), note that the calling thread is put to sleep, not the
whole process. Also explicitely name the parameter that specifies sleep interval.
This commit is contained in:
parent
9c86ec8748
commit
fc26689658
@ -47,7 +47,9 @@
|
||||
The
|
||||
.Fn nanosleep
|
||||
system call
|
||||
causes the process to sleep for the specified time.
|
||||
causes the calling thread to sleep until the time interval specified by
|
||||
.Fa rqtp
|
||||
has elapsed.
|
||||
An unmasked signal will
|
||||
cause it to terminate the sleep early, regardless of the
|
||||
.Dv SA_RESTART
|
||||
|
Loading…
x
Reference in New Issue
Block a user