select.kqueue.control()

kqueue.control(changelist, max_events[, timeout=None]) → eventlist Low level interface to kevent changelist must be an iterable of kevent object or None max_events must be 0 or a positive integer timeout in seconds (floats possible) Changed in version 3.5: The function is now retried with a recomputed timeout when interrupted by a signal, except if the signal handler raises an exception (see PEP 475 for the rationale), instead of raising InterruptedError.

select.kqueue.fileno()

kqueue.fileno() Return the file descriptor number of the control fd.

select.kqueue.close()

kqueue.close() Close the control file descriptor of the kqueue object.

select.PIPE_BUF

select.PIPE_BUF The minimum number of bytes which can be written without blocking to a pipe when the pipe has been reported as ready for writing by select(), poll() or another interface in this module. This doesn’t apply to other kind of file-like objects such as sockets. This value is guaranteed by POSIX to be at least 512. Availability: Unix. New in version 3.2.

select.kevent.udata

kevent.udata User defined value.

select.kqueue()

select.kqueue() (Only supported on BSD.) Returns a kernel queue object; see section Kqueue Objects below for the methods supported by kqueue objects. The new file descriptor is non-inheritable. Changed in version 3.4: The new file descriptor is now non-inheritable.

select.kevent.ident

kevent.ident Value used to identify the event. The interpretation depends on the filter but it’s usually the file descriptor. In the constructor ident can either be an int or an object with a fileno() method. kevent stores the integer internally.

select.kevent.fflags

kevent.fflags Filter specific flags. KQ_FILTER_READ and KQ_FILTER_WRITE filter flags: Constant Meaning KQ_NOTE_LOWAT low water mark of a socket buffer KQ_FILTER_VNODE filter flags: Constant Meaning KQ_NOTE_DELETE unlink() was called KQ_NOTE_WRITE a write occurred KQ_NOTE_EXTEND the file was extended KQ_NOTE_ATTRIB an attribute was changed KQ_NOTE_LINK the link count has changed KQ_NOTE_RENAME the file was renamed KQ_NOTE_REVOKE access to the file was revoked KQ_FILTER_PROC filter flags:

select.error

exception select.error A deprecated alias of OSError. Changed in version 3.3: Following PEP 3151, this class was made an alias of OSError.

select.kevent.filter

kevent.filter Name of the kernel filter. Constant Meaning KQ_FILTER_READ Takes a descriptor and returns whenever there is data available to read KQ_FILTER_WRITE Takes a descriptor and returns whenever there is data available to write KQ_FILTER_AIO AIO requests KQ_FILTER_VNODE Returns when one or more of the requested events watched in fflag occurs KQ_FILTER_PROC Watch for events on a process id KQ_FILTER_NETDEV Watch for events on a network device [not available on Mac OS X] KQ_FILTER_SIGNAL