<div dir="ltr">Hi Holger,<div><br></div><div>    let&#39;s collaborate on this.  You and I and lots of others want this to be done.  But in fixing the below bug my priorities are to</div><div>a) deliver a fix promptly</div><div>b) write the code so that either kqueue or epoll or select will be used based on HAVE_KQUEUE &amp; HAVE_EPOLL defines</div><div><br></div><div>So if I deliver a fix don&#39;t think that I&#39;m against having a proper event-driven or idling VM, I just don&#39;t have it in my head yet and want the bug fixed and kqueue/epoll available asap.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 24, 2016 at 11:42 PM, Holger Freyther <span dir="ltr">&lt;<a href="mailto:holger@freyther.de" target="_blank">holger@freyther.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
&gt; On 25 Mar 2016, at 00:35, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
<br>
<br>
Dear Eliot,<br>
<span class=""><br>
<br>
&gt; Fabulous, thank you!  replace the self halts with e.g. self assert: (clientSocket dataAvailable = (clientSocket readSemaphore excessSignals &gt; 0)), and we even have a test.  I have work to do tomorrow but hope I should be able to debug this soon.  I&#39;ll add kqueue and epoll support when I fix it.<br>
<br>
</span>before going to kqueue, could you have a look at my hack to create a completely idle VM? Once the VM has moved to kqueue it seems one can not get a SIGIO for the &quot;kqueue descriptor&quot;[1] itself and I don&#39;t know if SIGIO remains working for the individual file descriptors.<br>
<br>
holger<br>
<br>
<br>
[1] <a href="https://github.com/freebsd/freebsd/blob/master/sys/kern/kern_event.c#L1735" rel="noreferrer" target="_blank">https://github.com/freebsd/freebsd/blob/master/sys/kern/kern_event.c#L1735</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div></div>