revjim.net

forking question

If I fork a child process, and the child exits, how can I get the parent to wake up and see that? What happens is that, since the parent is doing something else (specifically, waiting for a new socket connection), it won’t acknowledge that exit until it’s done doing what it’s doing (which means, until another connection comes in).

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>