![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "lib/sync.hpp"
Object Monitor for synchronisation and waiting.
Implemented by a (wrapped) set of sync primitives, which are default constructible and noncopyable.
Public Member Functions | |
| void | lock () |
| void | unlock () noexcept |
| void | notify_one () noexcept |
| void | notify_all () noexcept |
| template<class PRED > | |
| void | wait (PRED &&predicate) |
| template<class DUR , class PRED > | |
| bool | wait_for (DUR const &timeout, PRED &&predicate) |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
|
inline |
Definition at line 139 of file sync.hpp.
Referenced by Sync< CONF >::Lock::Lock(), Sync< CONF >::Lock::Lock(), and Sync< CONF >::Lock::Lock().
Here is the caller graph for this function:
|
inlinenoexcept |
Definition at line 140 of file sync.hpp.
Referenced by Sync< CONF >::Lock::Lock(), and Sync< CONF >::Lock::~Lock().
Here is the caller graph for this function:
|
inlinenoexcept |
Definition at line 142 of file sync.hpp.
Referenced by Sync< CONF >::Lock::notify_one().
Here is the caller graph for this function:
|
inlinenoexcept |
Definition at line 143 of file sync.hpp.
Referenced by Sync< CONF >::Lock::notify_all(), and DispatcherLoop::updateState().
Here is the caller graph for this function:
|
inline |
Definition at line 147 of file sync.hpp.
Referenced by Sync< CONF >::Lock::Lock(), and Sync< CONF >::Lock::wait().
Here is the caller graph for this function:
|
inline |
Definition at line 154 of file sync.hpp.
Referenced by Sync< CONF >::Lock::wait_for().
Here is the caller graph for this function:
Inheritance diagram for Monitor< IMPL >:
Collaboration diagram for Monitor< IMPL >: