|
C3D Toolkit
Kernel - 118058, Vision - 2.15.0.1823
|
System-dependent atomic operations. If atomic operations are required, this file should be used (atomic must not be used!!!). More...
#include <system_types.h>#include <system_cpp_standard.h>#include <math_define.h>#include <atomic>Namespaces | |
| c3d | |
| C3D namespace declaration. | |
Typedefs | |
| typedef std::atomic_ptrdiff_t | use_count_type |
| Thread-safe references count type. | |
| typedef std::atomic_size_t | serial_type |
| Thread-safe references count type. | |
| typedef std::atomic_schar | flag_type |
| Thread-safe flag type. | |
| typedef std::atomic< bool > | atomic_bool |
| Thread-safe boolean type. | |
| typedef std::atomic< double > | atomic_double |
| Thread-safe double type. | |
| typedef std::atomic< uint8 > | atomic_uint8 |
| Thread-safe uint8 type. | |
| typedef std::pair< atomic_double, atomic_double > | c3d::AtomicDoublePair |
| Pair of thread-safe doubles. | |
Functions | |
| template<class AtomicType , class Type > | |
| Type | LoadTypeValue (const AtomicType &v) |
| template<class AtomicType > | |
| void | StoreTypeValue (const AtomicType &src, AtomicType &dst) |
| template<class AtomicType , class Type > | |
| void | StoreTypeValue (const Type src, AtomicType &dst) |
| size_t | SerialTypeValue (const serial_type &v) |
System-dependent atomic operations. If atomic operations are required, this file should be used (atomic must not be used!!!).
| Type LoadTypeValue | ( | const AtomicType & | v | ) |
Get value.
| void StoreTypeValue | ( | const AtomicType & | src, |
| AtomicType & | dst | ||
| ) |
Get value.
| void StoreTypeValue | ( | const Type | src, |
| AtomicType & | dst | ||
| ) |
Get value.
|
inline |
Get value.