www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/04/00:37:27

Date: Mon, 4 Nov 1996 07:27:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Ilya P. Ryzhenkov" <ilya AT spy DOT isp DOT nsc DOT ru>
Cc: djgpp AT delorie DOT com
Subject: Re: SIGSEGV Question
In-Reply-To: <327D2D07.1014@spy.isp.nsc.ru>
Message-Id: <Pine.SUN.3.91.961104072540.29580B-100000@is>
Mime-Version: 1.0

On Sun, 3 Nov 1996, Ilya P. Ryzhenkov wrote:

> I wonder if I can force exception processor to re-execute
>  faulted command after signal handler have done his job.
>  I'm focused primarily on SIGSEGV. Is it possible and how can
>  I do it ?

What's wrong with setjmp/longjmp paradigm?  Since in DJGPP the signal 
handling is deferred until your program is back in its mainline code in 
protected mode, the signal handler is just another C function, so you can 
do in it anything that you could do in any other C function.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019