thread/*Cond: rename methods to match std::condition_variable

This commit is contained in:
Max Kellermann
2019-04-25 18:33:09 +02:00
parent 5bc8cd0ecb
commit b51bae5500
25 changed files with 72 additions and 72 deletions

View File

@@ -199,7 +199,7 @@ public:
* calling this function.
*/
void Signal() noexcept {
cond.signal();
cond.notify_one();
}
/**
@@ -367,7 +367,7 @@ public:
assert(command != DecoderCommand::NONE);
command = DecoderCommand::NONE;
client_cond.signal();
client_cond.notify_one();
}
/**
@@ -428,11 +428,11 @@ private:
/* virtual methods from class InputStreamHandler */
void OnInputStreamReady() noexcept override {
cond.signal();
cond.notify_one();
}
void OnInputStreamAvailable() noexcept override {
cond.signal();
cond.notify_one();
}
};