Re: [RISU v2 10/17] Pass non-OK result back through siglongjmp

2020-05-20 Thread Alex Bennée
Richard Henderson writes: > Rather than doing some work in the signal handler and > some work outside, move all of the non-resume work outside. > This works because we arranged for RES_OK to be 0, which > is the normal return from sigsetjmp. > > Signed-off-by: Richard Henderson Reviewed-by: A

[RISU v2 10/17] Pass non-OK result back through siglongjmp

2020-05-18 Thread Richard Henderson
Rather than doing some work in the signal handler and some work outside, move all of the non-resume work outside. This works because we arranged for RES_OK to be 0, which is the normal return from sigsetjmp. Signed-off-by: Richard Henderson --- risu.c | 50 ---