Thread (7 messages) flat view 7 messages, 2 authors, 2000-03-16

Re: SIGALRM can't be delivered after longjmp from handler?

From: Peter M. Jansson <hidden>
Date: 2000-03-16 01:55:52

I made this exact change, and the program's behavior is unchanged.  Did
you compile and run the program with your change and observe different
behavior?  I still get only one "Wait interrupted" instead of three.

The signal is being delivered multiple times, it just isn't delivered
anymore after the longjmp, so I'm not sure that resetting the signal
handler is involved in this problem.

Pete.

On Wed, 15 Mar 2000, David A. Gatwood wrote:
quoted
static void
interrupt()
{
	signal(SIGALRM, interrupt);
quoted
        printf ("Interrupt: %d\n", count);
        if (count > 2)

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help