aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-02 20:20:13 +0100
committerMax Kellermann <max@duempel.org>2009-11-02 20:20:13 +0100
commit408d52fe3995a34fe1559074fdabedd7589d512c (patch)
tree236547f67bec6e8276ee4bf861c3de6a6b6b20f8 /src/uri.h
parentb9013944dc80c70533aaaa0d5a446500a49e0607 (diff)
downloadmpd-408d52fe3995a34fe1559074fdabedd7589d512c.tar.gz
mpd-408d52fe3995a34fe1559074fdabedd7589d512c.tar.xz
mpd-408d52fe3995a34fe1559074fdabedd7589d512c.zip
player_thread: check command before waiting during pause
While paused, the player thread re-locks its mutex and waits for a signal. This is racy: when the command is set while the thread is waiting for the lock, it may wait forever. This patch adds another command check before player_wait().
Diffstat (limited to 'src/uri.h')
0 files changed, 0 insertions, 0 deletions