Simple spinning condition.
More...
#include <shm.hpp>
|
| void | Signal () noexcept |
| |
| template<class Rep, class Period, class Predicate> |
| bool | Wait (std::chrono::duration< Rep, Period > timeout, Predicate pred) noexcept |
| |
Simple spinning condition.
Definition at line 278 of file shm.hpp.
◆ condition_t
◆ Signal()
| void ipcq::detail::SpinConditionPolicy::Signal |
( |
| ) |
|
|
inlinenoexcept |
◆ Wait()
template<class Rep, class Period, class Predicate>
| bool ipcq::detail::SpinConditionPolicy::Wait |
( |
std::chrono::duration< Rep, Period > | timeout, |
|
|
Predicate | pred ) |
|
inlinenodiscardnoexcept |
- Note
- : It is possible that between detecting that a wait is necessary and actually creating the initial state to await a change on, the writer calls Signal(); In this scenario the reader will not be able to see the signal as a true signal.
Definition at line 294 of file shm.hpp.
The documentation for this class was generated from the following file:
- ipcq/src/include/ipcq/detail/shm.hpp