Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
KqueueSourcekqueue(): Kqueue is a scalable event notification interface available on macOS and various BSD systems (FreeBSD, OpenBSD, etc).
Consult the kqueue manpages to see the full list of functionality:
kevent is used to register new events, and fetch any ready events from the kernel queue.
changelist is the list of new events to be submitted.
eventlist is the container where the kernel queue fill fill any new events that are ready for the user.
If eventlist is empty the kevent call will return immediately even if a non zero timeout is used. The response returns the count of new events returned by the kernel queue.
available Indicates if the system where this library was built has kqueue available.