Alarm, sleep and High Resolution Timers

Alarm system call The alarm system call arranges for the SIGALRM signal to be sent to the calling process after s seconds. #include <unistd.h> unsigned int alarm (unsigned int s); Any previously set alarm is cleared. And if s is 0, no alarm is set. So, passing 0 as argument to alarm clears any previously …

Alarm, sleep and High Resolution Timers Read More »