Skip to contentSkip to conversation

setitimer, sleep and SIGALRM

DISCUSSION DervishD 1 participant 1 message Sep 8, 2002

lore
Share & tools
lore

DervishD

author
#0 lore raw

Hi Thomas :))

AFAIK, 'sleep()' is a libc function, and if you use GNU libc, it
doesn't make use of SIGALRM, so it is safe to use 'setitimer()' and 'sleep()' at the same time on a program.

Moreover, 'setitimer()' is too a libc function to my knowledge (I
may be wrong here, so please don't hit me XDD).

Raúl