<div class="gmail_quote">On Mon, Sep 6, 2010 at 2:53 AM, Simon Marlow <span dir="ltr">&lt;<a href="mailto:marlowsd@gmail.com">marlowsd@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">I think that should be fine - there should always be a worker thread in the system available to handle the signal.  You could probably block those signals permanently for that thread.</div>
</div></blockquote><div><br></div><div>Good to know, thanks.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
But why does the failure occur in the first place?  Is the library not handling EINTR?<br></blockquote><div><br></div><div>That&#39;s right. There&#39;s unfortunately a ton of library code out there that was written by people who don&#39;t know when EINTR can bite, and the mysql client library happens to be the most prominent one that affects the Haskell world. </div>
</div>