TURBO C: signal(SIGINT, ); multiple calls hangs itself
Lars Wirzenius
wirzeniu at cs.Helsinki.FI
Thu Jan 3 09:33:40 AEST 1991
In article <15795.2780a5d4 at levels.sait.edu.au> marwk at levels.sait.edu.au writes:
>If signal is called again in the handler function up to about 25 attempts
>to Break the program are successfully thwarted, but then , that's right,
>nothing happens - a cold boot is required.
I *could* be due to the call to printf in the signal handler. Remember,
there's little you can *realiably* do in a signal handler, just about
the only thing is setting a flag.
Lars Wirzenius wirzeniu at cs.helsinki.fi wirzenius at cc.helsinki.fi
More information about the Comp.lang.c
mailing list