Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Daniel Stevens (eris@p.enes.lv)'s status on Saturday, 24-May-2025 03:20:08 JST Daniel Stevens
Compared to sleep(3) and usleep(3), nanosleep(2) has the following advantages: it provides a higher resolution for specifying the sleep interval; POSIX.1 explicitly specifies that it does not interact with signals; and it makes the task of resuming a sleep that has been interrupted by a signal handler easier