Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15667 > unrolled thread

Re: loadable sleep exits immediately

Started byChet Ramey <chet.ramey@case.edu>
First post2019-11-13 09:21 -0500
Last post2019-11-13 09:21 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: loadable sleep exits immediately Chet Ramey <chet.ramey@case.edu> - 2019-11-13 09:21 -0500

#15667 — Re: loadable sleep exits immediately

FromChet Ramey <chet.ramey@case.edu>
Date2019-11-13 09:21 -0500
SubjectRe: loadable sleep exits immediately
Message-ID<mailman.1339.1573654924.13325.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web