Episode #503: Subprocesses Part 14: Advanced Wait

If you're writing a forking server, a job queuing system, or any other program which must manage child processes, you have to know how to cleanly handle the shutdown of those processes. In today's episode you'll learn the nuances of Ruby's Process.wait, Process.wait2, and Process.waitall system calls. You'll see how they differ, and get some insight into how to choose between them based on your use case.

This page is just for members. Sign in or subscribe to gain access!