diff options
author | Max Kellermann <max@musicpd.org> | 2018-06-23 19:10:23 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-06-23 19:10:23 +0200 |
commit | 1bca29f9e2a6b10ec9f2f92337496729012d8b77 (patch) | |
tree | a051fb6a6649d3a8de0e5c15d9d39ba72265bbcc /src/output/Thread.cxx | |
parent | efb8a9bd2cb7a1d54c84c37306c8974f49db888d (diff) |
output/Control: rename "cond" to "wake_cond"
Prepare for adding another Cond attribute.
Diffstat (limited to 'src/output/Thread.cxx')
-rw-r--r-- | src/output/Thread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/Thread.cxx b/src/output/Thread.cxx index fe358ce2f..0ea35aa39 100644 --- a/src/output/Thread.cxx +++ b/src/output/Thread.cxx @@ -218,7 +218,7 @@ AudioOutputControl::WaitForDelay() noexcept if (delay <= std::chrono::steady_clock::duration::zero()) return true; - (void)cond.timed_wait(mutex, delay); + (void)wake_cond.timed_wait(mutex, delay); if (command != Command::NONE) return false; @@ -491,7 +491,7 @@ AudioOutputControl::Task() noexcept if (command == Command::NONE) { woken_for_play = false; - cond.wait(mutex); + wake_cond.wait(mutex); } } } |