problems with SIGALRM.....

Bob Lenk rml at hpfcdc.HP.COM
Wed Apr 12 09:00:17 AEST 1989


> The explanation of my earlier problem with SIGALRM was that sleep(3) 
> also happens to use SIGALRM to time the interval it sleeps for. Now, 
> I'm not sure why it works under Ultrix 3.0 ......

The Ultrix sleep() is apparently based on or compatible with System V or
POSIX, while the SunOS sleep() is apparently based on BSD.  Both use
SIGALRM.  System V's does various pushups related to a previously
requested SIGALRM to behave essentially as if it did not use the signal.
This should be described in the sleep(3) manual entries.

		Bob Lenk
		hplabs!hpfcla!rml
		rml%hpfcla at hplabs.hp.com



More information about the Comp.unix.questions mailing list