20 #ifndef MPD_THREAD_INPUT_STREAM_HXX 21 #define MPD_THREAD_INPUT_STREAM_HXX 44 const char *
const plugin;
55 std::exception_ptr postponed_exception;
57 const size_t buffer_size;
72 const char *_uri,
Mutex &_mutex,
Cond &_cond,
77 buffer_size(_buffer_size) {}
87 void Check() override final;
88 bool IsEOF() noexcept final;
90 size_t Read(
void *ptr,
size_t size) override final;
#define BIND_THIS_METHOD(method)
Shortcut wrapper for BIND_METHOD() which assumes "*this" is the instance to be bound.
gcc_pure bool IsInside() const noexcept
Check if this thread is the current thread.