revjim.net Rotating Header Image

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).

Share and Enjoy:
  • Facebook
  • StumbleUpon
  • Digg
  • del.icio.us
  • Google
  • Reddit
  • Technorati
  • Furl
  • Spurl
  • Live
  • Pownce
  • TwitThis