fesa-core
7.0.0
|
#include <SharedConditionalVariable.h>
Additional Inherited Members | |||
Public Member Functions inherited from fesa::ConditionalVariable | |||
ConditionalVariable () | |||
constructor
| |||
~ConditionalVariable () | |||
destructor | |||
void | signal () | ||
This method sends a signal to the conditional variable telling it that the thread can continue
| |||
void | signalAll () | ||
void | wait (const Mutex &mutex) const | ||
This method waits until a signal arrives stopping the thread. The mutex passed by argument has to be locked before invoking this method. More... | |||
bool | wait (const Mutex &mutex, std::time_t timeoutSec, std::time_t timeoutNanoSec) const | ||
This method waits until a signal arrives or the timeout was hit. The mutex passed by argument has to be locked before invoking this method. More... | |||
Protected Member Functions inherited from fesa::ConditionalVariable | |||
ConditionalVariable (bool initialize) | |||
Protected Attributes inherited from fesa::ConditionalVariable | |||
pthread_cond_t | condition_ | ||
internal condition representation | |||
Conditional variable that can be shared between threads which don't have the same address space. The first thread shall create it by calling the static method map() with initialize set to true. Additional threads shall map it by calling the static method map() with initialize set to false.