Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!bloom-beacon!eru!hagbard!sunic!news.funet.fi!hydra!kreeta!wirzeniu From: wirzeniu@cs.Helsinki.FI (Lars Wirzenius) Newsgroups: comp.lang.c Subject: Re: TURBO C: signal(SIGINT, ); multiple calls hangs itself Message-ID: <10229@hydra.Helsinki.FI> Date: 2 Jan 91 22:33:40 GMT References: <15794.277f7a95@levels.sait.edu.au> <9975@pasteur.Berkeley.EDU> <15795.2780a5d4@levels.sait.edu.au> Sender: news@cs.Helsinki.FI Organization: University of Helsinki, Department of Computer Science Lines: 10 In article <15795.2780a5d4@levels.sait.edu.au> marwk@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@cs.helsinki.fi wirzenius@cc.helsinki.fi