CUBRID Engine  latest
thread_waiter.hpp File Reference
#include "perf_def.hpp"
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <mutex>
#include <thread>
#include <cassert>
#include <cinttypes>
Include dependency graph for thread_waiter.hpp:
This graph shows which files directly or indirectly include this file:

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)