poll vs. epoll

Dan Kegel dank at kegel.com
Tue Aug 24 19:51:32 CDT 2004


Shachar Shemesh wrote:
> It doesn't compile (rn.c is not including <sys/epoll.h>). When I fix 
> that, it checks whether epoll_create works. If it does, it sets all 
> handlers to use sigio. I don't think this library is quite stable enough 
> :-)

You're a tough customer :-)  It's quite close; guess I should polish it up a bit.

> In any case, it seems that it's interface is not ideal for wineserver. 
> Libevent, on the other hand......

Now don't go and do level-triggered stuff just because it's easier :-)

I don't think it's fair to say level-triggered is ideal for
wineserver.  In fact, wineserver is an example of the kind
of program that is easier to convert to edge-triggering
than most programs, since it's small and self-contained.

Sigh.  I wish my wrists were in better shape; I'd convert it
myself.  As it is, he who does the work gets to choose interfaces.
- Dan

-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change



More information about the wine-devel mailing list