Check out my first novel, midnight's simulacra!

Kqueue

From dankwiki

kqueue, available in FreeBSD since the 4.1 release (see the release notes), is a flexible and scalable edge-triggered event-notification mechanism. Linux has a similar mechanism, known as epoll.