What is kqueue?
Applications need to be notified when an event occurs, or a specific condition holds.
Kqueue provides a standard API for applications to register their interest in various events/conditions and have the notifications for these delivered in an efficient fashion.