Skip to content

gmondada/libkqueue

 
 

Repository files navigation

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

Kqueues for Fun and Profit

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

About

kqueue(2) compatibility library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 90.2%
  • Roff 3.5%
  • Ruby 2.0%
  • Makefile 1.8%
  • CMake 1.0%
  • Pascal 0.8%
  • Other 0.7%