[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loadable sleep exits immediately
From: |
Chet Ramey |
Subject: |
Re: loadable sleep exits immediately |
Date: |
Wed, 13 Nov 2019 09:21:41 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 11/12/19 9:15 AM, p.debruijn@unilogic.nl wrote:
Bash Version: 4.4
Patch Level: 23
Release Status: release
Description:
The loadable sleep function seems to exit almost immediately
in some specific cases.
It's getting interrupted by SIGCHLD. It's fixed in bash-5.0 by blocking
SIGCHLD in the appropriate function, using select or pselect.
--
``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/