5 #ifndef BITCOIN_UTIL_THREADINTERRUPT_H
6 #define BITCOIN_UTIL_THREADINTERRUPT_H
13 #include <condition_variable>
23 using Clock = std::chrono::steady_clock;
25 explicit operator bool()
const;
std::chrono::steady_clock Clock
void operator()() EXCLUSIVE_LOCKS_REQUIRED(!mut)
bool sleep_for(Clock::duration rel_time) EXCLUSIVE_LOCKS_REQUIRED(!mut)
std::condition_variable cond
#define EXCLUSIVE_LOCKS_REQUIRED(...)