aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-06 23:18:55 +0100
committerMax Kellermann <max@duempel.org>2013-11-06 23:51:17 +0100
commit9802e74859219ae151cddb238f71016e3a2ef1ef (patch)
treef1dcd4d13323a4806fd153c3a7a391a994dbede2 /src/DecoderInternal.hxx
parent8e7d6eb1518f87926b6d1c34b9ca48e4b5836198 (diff)
downloadmpd-9802e74859219ae151cddb238f71016e3a2ef1ef.tar.gz
mpd-9802e74859219ae151cddb238f71016e3a2ef1ef.tar.xz
mpd-9802e74859219ae151cddb238f71016e3a2ef1ef.zip
DecoderInternal: lock DecoderControl in _flush_chunk()
Must hold the Mutex to signal the Cond object safely.
Diffstat (limited to 'src/DecoderInternal.hxx')
-rw-r--r--src/DecoderInternal.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx
index ffe02ed7f..46069a561 100644
--- a/src/DecoderInternal.hxx
+++ b/src/DecoderInternal.hxx
@@ -108,6 +108,8 @@ decoder_get_chunk(Decoder &decoder);
/**
* Flushes the current chunk.
+ *
+ * Caller must not lock the #DecoderControl object.
*/
void
decoder_flush_chunk(Decoder &decoder);