20 #ifndef MPD_EVENT_MASK_MONITOR_HXX 21 #define MPD_EVENT_MASK_MONITOR_HXX 39 std::atomic_uint pending_mask;
48 void OrMask(
unsigned new_mask);
EventLoop & GetEventLoop()
An event loop that polls for events on file/socket descriptors.
Manage a bit mask of events that have occurred.
Defer execution of an event into an EventLoop.
This object stores a function pointer wrapping a method, and a reference to an instance of the method...
void OrMask(unsigned new_mask)
void RunDeferred() override
MaskMonitor(EventLoop &_loop, Callback _callback)