[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash: sleep execution issue with bash loadable builtins
From: |
Ángel |
Subject: |
Re: Bash: sleep execution issue with bash loadable builtins |
Date: |
Mon, 04 Dec 2017 21:48:16 +0100 |
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