summaryrefslogtreecommitdiff
path: root/src/input/AsyncInputStream.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-13 17:08:00 +0100
committerMax Kellermann <max@musicpd.org>2017-11-13 17:13:10 +0100
commit31ab78ae8e10af948ec95496df0d2abf1ea631a4 (patch)
tree032d43d2a59eb3b443913dd4d4922d79df6b6e35 /src/input/AsyncInputStream.cxx
parentf82e1453e476bd6c9114e2adf4144eb643950b0e (diff)
input/{cdio,ffmpeg,file,smbclient}: unlock the mutex during blocking I/O
InputStream::Read() and InputStream::Seek() are called with the mutex locked. That means the implementation must not block, or unlock the mutex before calling into blocking code. Previously, a slow CD drive could stall the whole MPD process, including the main thread, due to this problem. Closes #149
Diffstat (limited to 'src/input/AsyncInputStream.cxx')
0 files changed, 0 insertions, 0 deletions