On Wed, 2009-07-01 at 16:03 +0200, Joerg Schilling wrote:
> Erik Trauschke <erik.trausc...@freenet.de> wrote:
> 
> > Hi,
> >
> > I'm currently tinkering with sigtimedwait() to timeout a process I
> > forked by setting it up to listen for SIGCHLD. 
> >
> > What strikes me as odd is that I have to define a bogus signal-handler
> > routine to make it work, otherwise no SIGCHLD is even received by the
> > parent process.
> 
> The default behavior for SIGCHLD from POSIX is to ignore it unless set up
> otherwise.

And is there a way to set it up without defining a handler which isn't
actually used?

Thanks

Erik

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to