<div dir="ltr">I wonder if it&#39;s possible for mosh to switch back to the old self-pipe code, now that ftpmaster has approved of mosh, and &quot;sneak it in&quot;.<div><br></div><div>-Alex</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 1:38 PM, Quentin Smith <span dir="ltr">&lt;<a href="mailto:quentin@mit.edu" target="_blank">quentin@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, 16 Apr 2013, Jérémie Courrèges-Anglas wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Keegan: Can you weigh in here on whether we depend on pselect()&#39;s<br>
atomicity and whether this usage here is ok in practice?<br>
</blockquote>
<br>
If the code in the client or the server had called select with an<br>
infinite timeout, then I would have worried a bit more.<br>
<br>
A correct but more portable alternative would be the &quot;self-pipe&quot; trick.<br>
<br>
<a href="http://cr.yp.to/docs/selfpipe.html" target="_blank">http://cr.yp.to/docs/selfpipe.<u></u>html</a><br>
</blockquote>
<br></div>
Mosh actually used to do exactly that, but then we had to rip the code out because of Debian politics. (We used the implementation from libstddjb, and Debian insisted that we couldn&#39;t duplicate code from another package - even though we needed the code to be built in a different way.)<span class="HOEnZb"><font color="#888888"><br>

<br>
--Quentin</font></span><br>_______________________________________________<br>
mosh-devel mailing list<br>
<a href="mailto:mosh-devel@mit.edu">mosh-devel@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/mosh-devel" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-devel</a><br>
<br></blockquote></div><br></div>