1) alarm()
2) select()
alarm():
From the code I see, I believe the signal is disabled i.e: signal(SIGALRM, SIG_IGN); each time the signal handler is invoked. Just remove that line from the signal handler and it should work fine. (Note: on some Unices - on SVr? -, you have to re-enable the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.