<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Joerg,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 20, 2021 at 3:36 PM Cyril Hrubis <<a href="mailto:chrubis@suse.cz">chrubis@suse.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
> > There were actually several races in the shell library timeout handling.<br>
> ><br>
> > This commit fixes hopefully all of them by:<br>
> ><br>
> > * Reimplementing the backgroud timer in C<br>
> I did that once, but at that point it was kinda rejected ;)<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Sorry, I was suggesting to solve the problem only in Shell ATM,</div><div class="gmail_default" style="font-size:small">and it proved that it's not easy to cover all.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> See <a href="https://lists.linux.it/pipermail/ltp/2021-May/022445.html" rel="noreferrer" target="_blank">https://lists.linux.it/pipermail/ltp/2021-May/022445.html</a><br>
> and <a href="https://lists.linux.it/pipermail/ltp/2021-May/022453.html" rel="noreferrer" target="_blank">https://lists.linux.it/pipermail/ltp/2021-May/022453.html</a><br>
<br>
I guess we found out the hard way that it's impossible to write raceless<br>
timeouts in shell.</blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">+1 Indeed.</div></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>