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,
76 buffer_size(_buffer_size) {}
86 void Check() override final;
87 bool IsEOF() override final;
89 size_t Read(
void *ptr,
size_t size) override final;
141 static void ThreadFunc(
void *ctx);
gcc_pure bool IsInside() const
Check if this thread is the current thread.