Choosing between portability and innovation
Posted Mar 9, 2011 14:48 UTC (Wed) by
mheily (guest, #27123)
In reply to:
Choosing between portability and innovation by nevyn
Parent article:
Choosing between portability and innovation
Actually, you don't need to redesign your kernel to implement the kqueue API on Linux. The libkqueue project provides a userspace wrapper library that translates each kevent() call into the equivalent epoll/inotify/timerfd/signalfd/etc call for Linux. On Solaris, it uses the event port framework. On Windows, it will use the WaitForMultipleObjects() function.
(Disclaimer: I am the main author of libkqueue)
(
Log in to post comments)