• Max Kellermann's avatar
    input/{cdio,ffmpeg,file,smbclient}: unlock the mutex during blocking I/O · 31ab78ae
    Max Kellermann authored
    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
    31ab78ae
SmbclientInputPlugin.cxx 3.67 KB