|
CUBRID Engine
latest
|
#include "perf_def.hpp"#include <atomic>#include <chrono>#include <condition_variable>#include <mutex>#include <thread>#include <cassert>#include <cinttypes>

Go to the source code of this file.
Classes | |
| class | cubthread::waiter |
| struct | cubthread::wait_duration< D > |
Namespaces | |
| cubthread | |
Typedefs | |
| using | cubthread::wait_seconds = wait_duration< std::chrono::seconds > |
Functions | |
| template<typename D > | |
| void | cubthread::condvar_wait (std::condition_variable &condvar, std::unique_lock< std::mutex > &lock, const wait_duration< D > &duration) |
| template<typename D , typename P > | |
| bool | cubthread::condvar_wait (std::condition_variable &condvar, std::unique_lock< std::mutex > &lock, const wait_duration< D > &duration, P pred) |