Crate eventfd [] [src]

EventFD binding

This crate implements a simple binding for Linux eventfd(). See eventfd(2) for specific details of behaviour.

Structs

EventFD

Constants

EFD_CLOEXEC

Set the close-on-exec flag on the eventfd.

EFD_NONBLOCK

In non-blocking mode, reads and writes will return io::Error containing EAGAIN rather than blocking.

EFD_SEMAPHORE

Construct a semaphore-style EventFD.