From: utzoo!decvax!genradbo!stuart
Newsgroups: net.unix-wizards
Title: sleep(3) interference with sigset(3)
Article-I.D.: genradbo.457
Posted: Fri Aug 13 17:25:47 1982
Received: Tue Aug 17 06:26:19 1982


Sleep(3) uses the alarm signal and claims to restore the state of the
the signal.  
I use a sleep inside my routine which handles the alarm signal.
But, can anyone explain why sleep(2) might not fully restore the alarm
to the way things were before?  Both the remaining alarm time and
the 'current' handler routine are available to sleep(2) if it wants
to look at them.