Scope
|
#include <helpers.h>
Public Member Functions | |
StopCondition (const bool &_init=false) | |
bool | IsSet () const |
void | Set (const bool &_a=true) |
Private Member Functions | |
StopCondition (StopCondition &ac) | |
StopCondition & | operator= (StopCondition &ac) |
Private Attributes | |
std::atomic_bool | stop |
Thread-safe lock-free bool to signal a requested stop to the worker function currently executed in the Active's thread.
|
private |
disable copy
|
inline |
|
private |
disable assignment
|
inline |
|
inline |
|
mutableprivate |