Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 1997 19:01:25 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, peter@spinner.dialix.com
Cc:        ache@nagual.pp.ru, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, peter@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc/gen sleep.c
Message-ID:  <199705180901.TAA31228@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Hmm.  Perhaps install a temporary dummy SIGALRM handler in the sleep.c stub
>so that it doesn't die if there isn't one.  The old setitimer way doesn't
>mess with alarm(2), using nanosleep() wont change that.

Why would a program generate alarms without installing an alarm handler?
Perhaps buggy programs do install one but expect it not to be invoked
during sleep().

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705180901.TAA31228>