20 #ifndef MPD_EVENT_FD_HXX
21 #define MPD_EVENT_FD_HXX
A class that wraps eventfd().
EventFD & operator=(const EventFD &other)=delete
bool Read()
Checks if Write() was called at least once since the last Read() call.
bool Close()
Close the file descriptor.
An OO wrapper for a UNIX file descriptor.
void Write()
Wakes up the reader.
constexpr int Get() const
Returns the file descriptor.