20 #ifndef MPD_IO_THREAD_HXX 21 #define MPD_IO_THREAD_HXX
An event loop that polls for events on file/socket descriptors.
gcc_pure bool io_thread_inside() noexcept
Is the current thread the I/O thread?
void io_thread_quit()
Ask the I/O thread to quit, but does not wait for it.
gcc_const EventLoop & io_thread_get() noexcept
void io_thread_run()
Run the I/O event loop synchronously in the current thread.