On Fri, Jul 5, 2013 at 8:41 PM, Cyrille Lefevre
<[email protected]> wrote:
> Le 05/07/2013 20:07, Irek Szczesniak a écrit :
> <snip>
>
>> I tried it with bash:
>> strace ~/bin/ksh -c 'trap "print xCONTx" CONT ; trap ":" RTMIN ; bash
>
>
> FYI, useless trap since SIGCONT is an untrappable signal as SIGSTOP and
> SIGKILL are.

ksh -c 'trap "print xCONT" CONT ; trap "print xRTMIN" RTMIN ; kill
-RTMIN $$ ; true'
xRTMIN
xCONT

SIGCONT is trapable. Even SIGKILL is trapable if you have multiple threads.

Irek
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to