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

@@ -190,14 +190,14 @@ public:
const std::lock_guard<Mutex> lock(mutex);
tag = std::move(_tag);
done = true;
cond.broadcast();
cond.notify_all();
}
void OnRemoteTagError(std::exception_ptr e) noexcept override {
const std::lock_guard<Mutex> lock(mutex);
error = std::move(e);
done = true;
cond.broadcast();
cond.notify_all();
}
};