Date: Sun, 18 Jan 1998 11:53:08 +0200 (IST) From: Eli Zaretskii To: Nate Eldredge cc: Paul Derbyshire , djgpp AT delorie DOT com Subject: Re: Writing a SIGINT handler. In-Reply-To: <199801160420.UAA09731@adit.ap.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 15 Jan 1998, Nate Eldredge wrote: > >Of course, usually you shouldn't have a reason to install a handler > >that is meant to catch real exceptions which don't originate from > >something your program did. > Sorry, I'm confused by the implications of this. What might cause such an > event, and how would my program be able to tell which was the actual cause? > It seems to me that such events could only be caused by a buggy DPMI host, > which isn't my fault anyway. Yes, that is exactly what I meant to say. So you are not confused. In other words, for most practical purposes, a signal handler doesn't have to be locked. > I sincerely hope you aren't saying that signal handlers are not > safe. No, I wasn't saying that.