in reply to Re: Resuming from a SIG{INT}
in thread Resuming from a SIG{INT}

You cheat :)

Your example shows that if a signal handler that uses diamond operator is lucky enough not to interrupt another diamond operator it will probably usually most of the time work as expected.

Replies are listed 'Best First'.
Re: Re: Re: Resuming from a SIG{INT}
by Limbic~Region (Chancellor) on Mar 16, 2004 at 20:50 UTC
    kappa,
    We completely have different interpretations of why the OP chose to read from STDIN during the main execution of the program. I was assuming it was to get the program to pause long enough to test and it was the extra carriage return(s) that were not desired.

    Cheers - L~R