blob: 8741cbc57280f47875cc1dd134360ddb8b739305 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
py-kqueue (aka PyKQueue) is a Python module that interfaces to the kqueue(2)
and kevent(2) system calls. kqueue(2) and kevent(2) implements an
event-driven notification system, intended as a replacement for select(2) and
poll(2), which require lengthy preparation and bookkeeping to use. With
kevent(2), a list of file descriptors or other object to monitor is passed
in once, and the system returns a notification when the object triggers a
filter, such as 'ready to read data' for file descriptors. See the
manpages for details.
This Python module provides a C module and supporting Python script to
use these functions in a object-oriented manner.
WWW: http://people.freebsd.org/~dwhite/PyKQueue/
|