<div dir="ltr"><div><div>Hi,<br></div>yesterday I figured out why EFL stopped working suddenly several (too many) months ago: <sys/epoll.h> was added and one source started using silently epoll in the main loop.<br><br></div>But epoll in illumos does not implement the same behaviour as in Linux:<br clear="all"><div><div><div><a target="_blank" href="https://us-east.manta.joyent.com/smartosman/public/man5/epoll.5.html">https://us-east.manta.joyent.<wbr>com/smartosman/public/man5/<wbr>epoll.5.html</a><br></div><div>and in this particular case EFL relies on a peculiarity of Linux epoll: on illumos this produces a deadlock.<br><br></div><div>The "fix" was to avoid using automatically epoll if <sys/epoll.h> is present on the system.<br><br></div><div>This led me to think about freezes in Xorg 1.19 during testing: they are also caused by epoll and after trying to confirm it, I noticed that Jonathan Perkin committed to pkgsrc to work around the same issue.<br><br></div><div>It is likely that other software (libevent?) will exhibit the same feature, so beware camembert!<br><br></div><div>Kind regards,<br><br></div><div>Aurelien<br></div><div><br><br></div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div>
</div></div></div></div>