On 9/12/07, <b class="gmail_sendername">Michael S. Fischer</b> <<a href="mailto:michael@dynamine.net">michael@dynamine.net</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 9/12/07, Thomas Ptacek <<a href="mailto:tqbf@matasano.com">tqbf@matasano.com</a>> wrote:<br>> That's true, but the "heavy lifting" is the event and timer loop; the<br>> server and client code is pretty straightforward once you have the
<br>> loop.<br>><br>> I guess a way to restate the question is, for C/C++ code, why not just<br>> build EventMachine onto libevent?<br><br>I'd like to know this as well. epoll utilization is great if you're
<br>on Linux; not so great if you're using Mac OS X or FreeBSD, which have<br>kqueue. Using libevent instead of directly calling epoll might have<br>benefited more users by supporting more operating systems.</blockquote>
<div><br><br>EM works fine on Mac, BSD, Solaris, Windows, and other platforms that support the select(2) system call. I'd love to see someone step up and contribute an implementation of kqueue and IOCP.<br></div><br></div>