diff options
author | Max Kellermann <max@duempel.org> | 2009-01-17 15:23:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-17 15:23:57 +0100 |
commit | 7f3be96efa222aba1661adf2fc83a0e60e8b9aef (patch) | |
tree | e06d23ee662f7f113dde20fefd1d7e8f7397d2f3 /src/state_file.h | |
parent | 5395f5f6b34b6a98e94c8f3e8329150a2a4b9cac (diff) | |
download | mpd-7f3be96efa222aba1661adf2fc83a0e60e8b9aef.tar.gz mpd-7f3be96efa222aba1661adf2fc83a0e60e8b9aef.tar.xz mpd-7f3be96efa222aba1661adf2fc83a0e60e8b9aef.zip |
decoder_api: always notify_wait() for free chunks
One of the previous patches made MPD consume 100% CPU in a busy wait:
when the music_pipe was full, it did not wait (with notify_wait()) for
free chunks, because a variable has a different meaning now. Always
pass "true" as the "wait" parameter.
Diffstat (limited to 'src/state_file.h')
0 files changed, 0 insertions, 0 deletions