libqi-api
2.1.4.13
|
#include <atomic.hpp>
Public Member Functions | |
T | operator++ () |
T | operator-- () |
AtomicBase< T > & | operator= (T value) |
bool | setIfEquals (T testValue, T setValue) |
T | swap (T value) |
T | operator* () const |
BOOST_STATIC_ASSERT_MSG (sizeof(T)==sizeof(int),"qi::Atomic is only supprted for int-like types") | |
Public Attributes | |
volatile T | _value |
Definition at line 54 of file atomic.hpp.
qi::AtomicBase< T >::BOOST_STATIC_ASSERT_MSG | ( | sizeof(T) | = =sizeof(int) , |
"qi::Atomic is only supprted for int-like types" | |||
) |
|
inline |
Definition at line 70 of file atomic.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
If value is testValue
, replace it with setValue
.
|
inline |
volatile T qi::AtomicBase< T >::_value |
Definition at line 84 of file atomic.hpp.