[Top][All Lists]

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

Re: approach to async-signal safety in bash

From: Chet Ramey
Subject: Re: approach to async-signal safety in bash
Date: Wed, 1 Jul 2020 15:09:01 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 7/1/20 2:18 PM, Godmar Back wrote:

> I did a little experiment, changing find_process to assert that SIGCHLD is
> blocked (like the accompanying comment demands).
> This fails on one of the provided unit tests for me, for instance:

Thanks. I think it's possible for a SIGCHLD to arrive during the window
that find_process is executing when waitchld is not called from a SIGCHLD
signal handler. I'll take a look at fixing that.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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