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 <fe...@f-hauri.ch> that he has
actually posted the same issue on the mailing list last October:

2021年2月12日(金) 16:11 felix <fe...@f-hauri.ch>:
Sorry for delay... This seem linked to my post in october:
   https://lists.gnu.org/archive/html/bug-bash/2020-10/msg00095.html
   ( 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    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to