6 #include <condition_variable>
20 std::atomic_bool _flag{};
22 std::condition_variable _conditionVariable{};
68 bool wait(uint64_t period = 0);
Definition: callback_notifier.h:18
bool wait(uint64_t period=0)
Wait until set() has been called or period has elapsed.
void set()
Notify waiting threads that we are done and they can proceed.
CallbackNotifier()
Construct a thread-safe notification object.
Definition: callback_notifier.h:39