Static Public Member Functions | |
static int32_t | Increment (int32_t &location) |
static int64_t | Increment (int64_t &location) |
static int32_t | Decrement (int32_t &location) |
static int64_t | Decrement (int64_t &location) |
static int32_t | Add (int32_t &location1, int32_t value) |
static int64_t | Add (int64_t &location1, int64_t value) |
static ASPOSECPP_SHARED_API int32_t | ExchangeAdd (int32_t &location1, int32_t value) |
static ASPOSECPP_SHARED_API int64_t | ExchangeAdd (int64_t &location1, int64_t value) |
static ASPOSECPP_SHARED_API int32_t | Exchange (int32_t &location1, int32_t value) |
static ASPOSECPP_SHARED_API int64_t | Exchange (int64_t &location1, int64_t value) |
static ASPOSECPP_SHARED_API float | Exchange (float &location1, float value) |
static ASPOSECPP_SHARED_API double | Exchange (double &location1, double value) |
template<typename T > | |
static T | Exchange (T &location, T value) |
static ASPOSECPP_SHARED_API int32_t | CompareExchange (int32_t &location1, int32_t value, int32_t comparand) |
static ASPOSECPP_SHARED_API int64_t | CompareExchange (int64_t &location1, int64_t value, int64_t comparand) |
static ASPOSECPP_SHARED_API float | CompareExchange (float &location1, float value, float comparand) |
static ASPOSECPP_SHARED_API double | CompareExchange (double &location1, double value, double comparand) |
template<typename T1 , typename T2 , typename T3 > | |
static T2 | CompareExchange (T1 &location1, T2 value, T3 comparand) |
static ASPOSECPP_SHARED_API int32_t | CompareExchange (int32_t &location1, int32_t value, int32_t comparand, bool &succeeded) |
Provides API for thread-safe operations. This is a static type with no instance services. You should never create instances of it by any means.
|
inlinestatic |
Increases value atomically.
location1 | Variable reference to increase. |
value | Value to add to location1 . |
|
inlinestatic |
Increases value atomically.
location1 | Variable reference to increase. |
value | Value to add to location1 . |
|
static |
Compare-exchanges value on variable: checks if variable is equal to specific value and stores the new value only if stored value matches expected.
location1 | Variable reference to change. |
value | Value to store. |
comparand | Value to compare variable's value to before exchanging. |
|
static |
Compare-exchanges value on variable: checks if variable is equal to specific value and stores the new value only if stored value matches expected.
location1 | Variable reference to change. |
value | Value to store. |
comparand | Value to compare variable's value to before exchanging. |
|
static |
Compare-exchanges value on variable: checks if variable is equal to specific value and stores the new value only if stored value matches expected.
location1 | Variable reference to change. |
value | Value to store. |
comparand | Value to compare variable's value to before exchanging. |
|
static |
Compare-exchanges value on variable: checks if variable is equal to specific value and stores the new value only if stored value matches expected.
location1 | Variable reference to change. |
value | Value to store. |
comparand | Value to compare variable's value to before exchanging. |
|
inlinestatic |
Compare-exchanges value on variable: checks if variable is equal to specific value and stores the new value only if stored value matches expected. Not implemented.
T1 | Variable type. |
T2 | Replacement value type. |
T3 | Comparand type. |
location1 | Variable reference to change. |
value | Value to store. |
comparand | Value to compare variable's value to before exchanging. |
|
static |
Compare-exchanges value on variable: checks if variable is equal to specific value and stores the new value only if stored value matches expected.
location1 | Variable reference to change. |
value | Value to store. |
comparand | Value to compare variable's value to before exchanging. |
succeeded | Reference to variable which is set to true if exchange took place and to false otherwise. |
|
inlinestatic |
Decrements value atomically.
location | Variable reference to decrement. |
|
inlinestatic |
Decrements value atomically.
location | Variable reference to decrement. |
|
static |
Exchanges value on variable: stores new value and returns the value variable had immediately before storing.
location1 | Variable reference to change. |
value | Value to store. |
|
static |
Exchanges value on variable: stores new value and returns the value variable had immediately before storing.
location1 | Variable reference to change. |
value | Value to store. |
|
static |
Exchanges value on variable: stores new value and returns the value variable had immediately before storing.
location1 | Variable reference to change. |
value | Value to store. |
|
static |
Exchanges value on variable: stores new value and returns the value variable had immediately before storing.
location1 | Variable reference to change. |
value | Value to store. |
|
inlinestatic |
Exchanges value on variable: stores new value and returns the value variable had immediately before storing. Not implemented.
T | Variable type. |
location | Variable reference to change. |
value | Value to store. |
|
static |
Increases value atomically via exchange-add procedure.
location1 | Variable reference to increase. |
value | Value to add to location1 . |
|
static |
Increases value atomically via exchange-add procedure.
location1 | Variable reference to increase. |
value | Value to add to location1 . |
|
inlinestatic |
Increments value atomically.
location | Variable reference to increment. |
|
inlinestatic |
Increments value atomically.
location | Variable reference to increment. |