in reply to Managing the fork/execing and reaping of child processes

before it freezes:

Hm. I see no way out of your while loop (except the exit if fork fails), so how are you expecting the program to end?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
  • Comment on Re: Managing the fork/execing and reaping of child processes

Replies are listed 'Best First'.
Re^2: Managing the fork/execing and reaping of child processes
by QM (Parson) on Jul 16, 2015 at 15:39 UTC
    My understanding of the OP is that it shouldn't exit.

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      Correct. I don't want it to end.