Condition policy based on boost::interprocess::interprocess_condition.
More...
#include <shm.hpp>
|
| | BoostConditionPolicy ()=default |
| |
| | ~BoostConditionPolicy () |
| | Unlike std::condition_variable in C++11, it is NOT safe to invoke the destructor if all threads have been only notified.
|
| |
| void | Signal () noexcept |
| |
| template<class Rep, class Period, class Predicate> |
| bool | Wait (std::chrono::duration< Rep, Period > timeout, Predicate pred) noexcept |
| |
Condition policy based on boost::interprocess::interprocess_condition.
Definition at line 318 of file shm.hpp.
◆ BoostConditionPolicy()
| ipcq::detail::BoostConditionPolicy::BoostConditionPolicy |
( |
| ) |
|
|
default |
◆ ~BoostConditionPolicy()
| ipcq::detail::BoostConditionPolicy::~BoostConditionPolicy |
( |
| ) |
|
|
inline |
Unlike std::condition_variable in C++11, it is NOT safe to invoke the destructor if all threads have been only notified.
It is required that they have exited their respective wait functions.
Definition at line 327 of file shm.hpp.
◆ Signal()
| void ipcq::detail::BoostConditionPolicy::Signal |
( |
| ) |
|
|
inlinenoexcept |
◆ Wait()
template<class Rep, class Period, class Predicate>
| bool ipcq::detail::BoostConditionPolicy::Wait |
( |
std::chrono::duration< Rep, Period > | timeout, |
|
|
Predicate | pred ) |
|
inlinenodiscardnoexcept |
The documentation for this class was generated from the following file:
- ipcq/src/include/ipcq/detail/shm.hpp