[Top][All Lists]

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

Re: [PATCH] Fix blocking read timeouts at a small probability

From: Chet Ramey
Subject: Re: [PATCH] Fix blocking read timeouts at a small probability
Date: Mon, 15 Feb 2021 09:41:29 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 2/12/21 8:20 PM, Koichi Murase wrote:

I personally don't use this particularly short timeout, but this shows
that the masked SIGCHLD is again another ``partial'' fix. Yesterday I
actually received an email from felix <felix@f-hauri.ch> that he has
actually posted the same issue on the mailing list last October:

2021年2月12日(金) 16:11 felix <felix@f-hauri.ch>:
Sorry for delay... This seem linked to my post in october:
   ( typo in subject: s/hand/hang/ ;)

Looking at his test cases, he seems to be interested in the timeout of
the order of microseconds.

Just for testing, not for any real use case.

He also provided me with his new test case
to see the interaction with SIGCHLD. The failure of this test case
seems to have also involved SIGCHLD in the previous devel Bash. Now in
the current devel, it is improved but still sometimes blocks.

If you need a timeout on the order of a single microsecond in a shell
script, I urge you to reconsider your choices.

``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]