title: avoid calling sigchld handler in a part of the code
body: <p>I got a SIGCHLD handler on my program that reaps zombie processes.</p>
  
  <p>How can I avoid calling the SIGCHLD handler in a part of the code where I'm doing multiple fork() calls and waitpid() calls?</p>
  
  <p>Because right now, when I make a fork() call and the child finishes his execution, it returns a SIGCHLD signal so it calls the SIGCHLD handler, but I want to reap the process in that part of the code instead of in the handler? </p>
  
  <p>How can I do that? Blocking SIGCHLD signal?</p>