strusBase
0.17
|
#include <atomic.hpp>
Public Member Functions | |
AtomicFlag (bool initialValue_=false) | |
Constructor. More... | |
bool | set (bool val) |
Set the flag, if the new value changes the current value. More... | |
bool | test () const |
Evaluate the current value. More... | |
Public Member Functions inherited from strus::atomic< bool > | |
atomic (boolvalue) | |
atomic (const atomic &o) | |
|
inline |
Constructor.
|
inline |
Set the flag, if the new value changes the current value.
|
inline |
Evaluate the current value.