C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
Class that represents an atomic object. More...
dataType | Data type of the atomic object |
Atomic | ( | ) |
Constructs an atomic object
Atomic | ( | dataType | value | ) |
Constructs an atomic object from a value
[in] | value | The value to be assigned to the atomic object |
~Atomic | ( | ) |
Destructor
dataType dec | ( | ) |
Returns a decrement of atomic object
dataType get | ( | ) | const |
Returns the value of the atomic object
dataType inc | ( | ) |
Returns an increment of atomic object
void set | ( | dataType | value | ) |
Assigns the value to atomic object
[in] | value | The value to be assigned |
For more complete information about compiler optimizations, see our Optimization Notice.