SObjectizer  5.7
Namespaces | Functions
safe_cv_wait_for.hpp File Reference

Helpers for safe calls to condition_variable::wait_for with big timeout intervals. More...

#include <chrono>
#include <so_5/details/remaining_time_counter.hpp>

Go to the source code of this file.

Namespaces

 so_5
 Public part of message limit implementation.
 
 so_5::details
 Some reusable and low-level classes/functions which can be used in public header files.
 

Functions

template<typename Predicate >
bool so_5::details::wait_for_big_interval (std::unique_lock< std::mutex > &lock, std::condition_variable &cv, std::chrono::steady_clock::duration timeout, Predicate pred)
 Helper function for safe call of condition_variable::wait_for with possible big timeouts. More...
 

Detailed Description

Helpers for safe calls to condition_variable::wait_for with big timeout intervals.

Since
v.5.7.2