aboutsummaryrefslogtreecommitdiffstats
path: root/src/gerror.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-28 10:09:04 +0100
committerMax Kellermann <max@duempel.org>2013-10-28 10:22:05 +0100
commit1ad2475f9e3c88b992f3fd3d6a77842287d3e4db (patch)
treeb9d16a4bfeb2fa54f1bfe002df3da44341929709 /src/gerror.h
parent5b5675cc121eff6ba4b89719a523bfbe3993ce2f (diff)
downloadmpd-1ad2475f9e3c88b992f3fd3d6a77842287d3e4db.tar.gz
mpd-1ad2475f9e3c88b992f3fd3d6a77842287d3e4db.tar.xz
mpd-1ad2475f9e3c88b992f3fd3d6a77842287d3e4db.zip
DecoderControl: convert mutex and client_cond to a reference
Share the Mutex between the DecoderThread and the PlayerThread. This simplifies synchronization between the two threads and fixes a freeze problem: while the PlayerThread waits for the DeocderThread, it cannot answer requests from the main thread, and the main thread will block until the DecoderThread finishes.
Diffstat (limited to 'src/gerror.h')
0 files changed, 0 insertions, 0 deletions