thread/*Cond: rename methods to match std::condition_variable
This commit is contained in:
src
command
decoder
event
input
BufferedInputStream.cxxBufferedInputStream.hxxCondHandler.hxxProxyInputStream.cxxThreadInputStream.cxx
lib
nfs
neighbor
plugins
output
player
storage
thread
test
@@ -127,7 +127,7 @@ DecoderBridge::FlushChunk() noexcept
|
||||
|
||||
const std::lock_guard<Mutex> protect(dc.mutex);
|
||||
if (dc.client_is_waiting)
|
||||
dc.client_cond.signal();
|
||||
dc.client_cond.notify_one();
|
||||
}
|
||||
|
||||
bool
|
||||
@@ -310,7 +310,7 @@ DecoderBridge::CommandFinished() noexcept
|
||||
}
|
||||
|
||||
dc.command = DecoderCommand::NONE;
|
||||
dc.client_cond.signal();
|
||||
dc.client_cond.notify_one();
|
||||
}
|
||||
|
||||
SongTime
|
||||
|
Reference in New Issue
Block a user