title: How to monitor process life
body: <p>I have a problem, I have a control executables which monitor few process and if anyone died then it will restart it. On windows we are doing with WaitFOrMultipleObject where process handle passed in the array of handle. If any process die we getting acknowledged by WaitForMultipleObject. </p>
  
  <p>Now we have to implement it on Linux. How we will do it? Wait is only work for one process id and while we have to monitor multiple process. </p>