On 2017-12-04 at 16:38 +0530, Thiruvadi Rajaraman wrote: > Hi Chester, > > Based on your review comments and suggestions about the earlier fixes, > reworked on the fix with pselect() > to block the signal. > Blocked the SIGCHLD signal using sigprocmask(). > > Attached the reworked fix patch for your kind reference. > > Please kindly review the patch and suggest your comments. > > Thanks, > Thiruvadi Rajaraman
As you are using pselect(), you don't need those sigprocmask() calls. They are "done inside pselect" (but atomically) Best regards