Ariel Abreu 7e2ade452a
Add NOTE_MACHTIME support
This is actually used in libdispatch for pretty much all non-wall-clock
timers, so as you might imagine, it's used quite frequently and we were
processing it incorrectly, leading to stalls in some programs that use
such timers for short intervals/deadlines.
2023-10-04 00:27:01 -04:00
2010-02-28 00:25:36 +00:00
2011-05-20 05:47:20 +00:00
2010-06-09 03:41:18 +00:00
2023-10-04 00:27:01 -04:00
2013-06-11 14:45:42 +00:00
2013-05-09 01:43:36 +00:00
2010-09-18 02:40:44 +00:00
2014-03-09 20:40:24 -04:00
2013-05-09 01:43:36 +00:00
2014-02-23 20:34:25 -05:00

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

Description
Darling build of libkqueue
Readme Multiple Licenses 1.2 MiB
Languages
C 90.9%
Roff 3.2%
Ruby 1.9%
Makefile 1.6%
CMake 1.1%
Other 1.3%