Re: exception handling around a signal handler
- From: Rainer Weikusat <rweikusat@xxxxxxxxxxx>
- Date: Tue, 28 Aug 2007 12:05:38 +0200
Gianni Mariani <gi3nospam@xxxxxxxxxx> writes:
Rainer Weikusat wrote:
..
While this is correct in itself, it doesn't fit here: The original
segementation fault happened in the child process and the question was
about a method to make s signal handler return to some other place
instead the one where the parent was interrupted, to prevent the
parent from segfaulting as well.
Look up setjmp/longjmp
It is unspecified whether longjmp() restores the signal mask,
leaves the signal mask unchanged, or restores it to its value
at the time setjmp() was called.
(SUS)
.
- References:
- exception handling around a signal handler
- From: Brilte
- Re: exception handling around a signal handler
- From: Gianni Mariani
- Re: exception handling around a signal handler
- From: Rainer Weikusat
- Re: exception handling around a signal handler
- From: Gianni Mariani
- exception handling around a signal handler
- Prev by Date: Re: exception handling around a signal handler
- Next by Date: Re: exception handling around a signal handler
- Previous by thread: Re: exception handling around a signal handler
- Next by thread: Re: exception handling around a signal handler
- Index(es):