[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: Thu, 11 Feb 2021 15:27:23 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 2/10/21 11:59 AM, Koichi Murase wrote:
2021年2月10日(水) 23:40 Chet Ramey <chet.ramey@case.edu>:
On 2/10/21 10:21 AM, Chet Ramey wrote:
Thanks for the analysis and patch. I'll take a look. At first glance, I
would like to find a simpler way to do it.

Thank you. Yes, if there is a simpler but still robust and reliable
way to do it, that would be nice.

There is, in fact, a simpler way for this case. Blocking SIGCHLD around the
calls to zread and its siblings fixes the problem. It might not be enough
of a general solution for you, though.

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