Lumiera  0.pre.03
»edit your freedom«
Monitor< IMPL > Class Template Reference

#include "lib/sync.hpp"

Description

template<class IMPL>
class lib::sync::Monitor< IMPL >

Object Monitor for synchronisation and waiting.

Implemented by a (wrapped) set of sync primitives, which are default constructible and noncopyable.

Definition at line 141 of file sync.hpp.

Public Member Functions

void lock ()
 
void notify_all () noexcept
 
void notify_one () noexcept
 
void unlock () 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 (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 
+ Inheritance diagram for Monitor< IMPL >:
+ Collaboration diagram for Monitor< IMPL >:

The documentation for this class was generated from the following file: