MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / OnReadError

Method OnReadError

src/input/plugins/UringInputPlugin.cxx:153–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void
154UringInputStream::OnReadError(int error) noexcept
155{
156 read_operation.reset();
157
158 const std::lock_guard protect{mutex};
159
160 postponed_exception = std::make_exception_ptr(MakeErrno(error, "Read failed"));
161 InvokeOnAvailable();
162}
163
164InputStreamPtr
165OpenUringInputStream(const char *path, Mutex &mutex)

Callers 1

OnUringCompletionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected