Hello,

I was messing around with some signals on AIX using ksh93t and stumbled across 
the Signal of SIGWAITING and noticed that in the kernel debugger that ksh93 has 
a signal Handler for the SIGWAITING signal which is sh_fault. When I looked at 
the sh_fault code I didn't find any case where we handle the signal once it is 
sent and trapped by ksh93 to deal with it. So I guess what I am asking is that 
on aix this signal is signal #39 does ksh93 have a reason for wanting to trap 
this signal instead of having it setup to be SIG_DFL or SIG_IGN so that the 
default action/Ignore will be taken once it is received? 

I found some code that I though would have made sure that the signal wouldn't 
be caught by the shell here is what I found below:

in data/signals.c

#ifdef SIGWAITING
        "WAITING",              VAL(SIGWAITING,SH_SIGIGNORE),   S("All threads 
blocked"),
#endif  /* SIGWAITING */


Any help in understanding this would be much appreciated.


Thanks,
Leon



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

Reply via email to