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

@@ -138,7 +138,7 @@ private:
const std::lock_guard<Mutex> protect(mutex);
state = _state;
cond.broadcast();
cond.notify_all();
}
void SetState(State _state, std::exception_ptr &&e) noexcept {
@@ -147,7 +147,7 @@ private:
const std::lock_guard<Mutex> protect(mutex);
state = _state;
last_exception = std::move(e);
cond.broadcast();
cond.notify_all();
}
void Connect() noexcept {