mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-26 21:20:38 +00:00
Darling build of libkqueue
f3f8cb99b0
Using this flag tells kevent to keep processing even when an error is encountered adding an event. This means that it will actually check both EVFILT_READ and EVFILT_WRITE now. With the old code, we were leaking descriptors created for EVFILT_WRITE. |
||
---|---|---|
include/sys | ||
kern | ||
kqlite | ||
libkqueue.xcodeproj | ||
ports/debian | ||
src | ||
test | ||
BUGS | ||
ChangeLog | ||
CMakeLists.txt | ||
config.inc | ||
configure.ac | ||
configure.rb | ||
kqueue.2 | ||
libkqueue.la.in | ||
libkqueue.pc.in | ||
libkqueue.sln | ||
libkqueue.spec | ||
libkqueue.vcxproj | ||
libkqueue.vcxproj.filters | ||
LICENSE | ||
Makefile.am | ||
README.md | ||
TODO |
libkqueue
A user space implementation of the kqueue(2) kernel event notification mechanism libkqueue acts as a translator between the kevent structure and the native kernel facilities on Linux, Android, Solaris, and Windows.
Supported Event Types
- vnode
- socket
- proc
- user
- timer
Installation - Linux, Solaris
./configure
make
make install
Installation - Red Hat
./configure
make package
rpm -i *.rpm
Installation - Android
ruby ./configure.rb --host=arm-linux-androideabi \
--with-ndk=/opt/android-ndk-r8c \
--with-sdk=/opt/android-sdks
make
Running Unit Tests
./configure
make
make check
Building Applications
CFLAGS += -I/usr/include/kqueue
LDFLAGS += -lkqueue
Tutorials & Examples
Handling TCP Connections with Kqueue Event Notification
Releases History
2.0 add support for Android 2013-04-29
1.0 stable relesae for Linux, Solaris, and Windows 2010-09-18