bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible race condition in bash


From: Nikolay Borisov
Subject: Re: Possible race condition in bash
Date: Sat, 21 Nov 2020 21:09:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0


On 21.11.20 г. 20:50 ч., Chet Ramey wrote:
> On 11/21/20 1:35 PM, Nikolay Borisov wrote:
> 
>> I can see setting of SIGTERM handler for both 2 subshells _after_ receiving 
>> the signal. What exactly should I be looking at?
> 
> That's your race condition.
> 

But shouldn't the default environment not ignore this signal? ALso what
would be the correct way to synchronize ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]