Mail Archives: djgpp/1996/11/04/00:37:27
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 -