MANNS%DBNPIB5.BITNET@cunyvm.cuny.edu (Jochen Manns, PI der Uni Bonn, 732738/3611) (01/14/91)
Dear UNIX programmers, perhaps you can give me some hints on signals: a) if a signal handler (SIGCHLD) is invoked and the same signal comes again, is the handler called again after it returned? b) if another signal handler has SIGCHLD blocked and SIGCHLD arrived, will I catch the signal? it seems as if I have to answer both questions with NO, but what is the truth? Thank you in advance Jochen Manns Physikalisches Institut der Universitaet Bonn Nussallee 12 5300 Bonn 1 (Germany)
pfalstad@phoenix.Princeton.EDU (Paul John Falstad) (01/14/91)
In article <25489@adm.brl.mil> MANNS%DBNPIB5.BITNET@cunyvm.cuny.edu (Jochen Manns, PI der Uni Bonn, 732738/3611) writes: > a) if a signal handler (SIGCHLD) is invoked and the same signal > comes again, is the handler called again after it returned? > b) if another signal handler has SIGCHLD blocked and SIGCHLD > arrived, will I catch the signal? Yes to both, at least in BSD. Why? -- "Uh, Air Zalagaza 612, we have engine failure and our port wing is about to drop off. We anticipate a crash situation at this time." The lavatory is engaged. From within, you hear what could be a pygmy hog giving birth to an unusually large litter.