On Fri, Sep 25, 2009 at 3:04 AM, Robert Watson <robert@fledge.watson.org>wrote:
On Tue, 15 Sep 2009, Dennis Schafroth wrote:
Yes, I am also working on a linux port, also on F11. There will be a lot
of work due to heavy usage of kevent and mach ports/messages. Robert have pointed at libevent as a portable solution.
I've started taking a look at this -- for Linux lack of mach ports/messages shouldn't be a problem, as I have those either disabled or replaced by portable substitutes (such as mach semaphores -> POSIX semaphores). However, libdispatch makes heavy use of kqueue and a substitute will have to be identified. Ideally, one that doesn't leave libdispatch in a giant mess :-).
Robert
Anyone happen to know the history behind why linux chose to implement epoll when many other Unix's were already doing kqueues? I'm sure someone had a reason somewhere, and I hope it's not just NIH syndrome. Dave