alarm () and sleep() functions in the same process
Posted on 2003-01-26
I wanted to use alarm() function call in my process
I already have some calls to sleep() function.
I read the man pages for alarm() saying that
alarm() and sleep() should not be used in the same process. (since sleep() may internally use SIGALRM)
I wanted to know sugestions from the experts regd. this
What is the work around/design if alarm() and sleep()
have to be used in the same process.
Is there any alternative to using alarm() function in the user space.
Thanks for all your help.