<div dir="ltr">On Mon, Nov 14, 2011 at 13:58, Ferenc Wagner <span dir="ltr">&lt;<a href="mailto:wferi@niif.hu" target="_blank">wferi@niif.hu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>&gt; writes:<br>
&gt; More generally, Unix/POSIX lacks a good event-based interface which<br>
&gt; can detect non-file-like events; many things map to signals, which can<br>
&gt; be sort of handled gracefully with some hackery in C but are not<br>
&gt; handled particularly well by GHC&#39;s runtime.<br>
<br>
</div>I guess you miss the Linux-only signalfd/eventfd, right?</blockquote><div><br></div><div>&quot;Linux-only&quot; is the problem there.  I know Linux folk like to imagine they define Unix and POSIX, but there are others out there still.  Same problem with BSD&#39;s kqueue:  I can&#39;t use it on Linux and only to a limited extent on OS X which has still another mechanism of its own (Mach ports).</div>

<div><br></div><div>It&#39;s the *portable* general event interface that is missing.</div></div><div><br></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>

wandering unix systems administrator (available)     <a href="tel:%28412%29%20475-9364" value="+14124759364" target="_blank">(412) 475-9364</a> vm/sms<br><br>
</div>