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.
More...
|
static ASPOSECPP_SHARED_API int32_t | Increment (int32_t &location) |
| Increments value atomically. More...
|
|
static ASPOSECPP_SHARED_API int64_t | Increment (int64_t &location) |
| Increments value atomically. More...
|
|
static ASPOSECPP_SHARED_API int32_t | Decrement (int32_t &location) |
| Decrements value atomically. More...
|
|
static ASPOSECPP_SHARED_API int64_t | Decrement (int64_t &location) |
| Decrements value atomically. More...
|
|
static ASPOSECPP_SHARED_API int32_t | Add (int32_t &location1, int32_t value) |
| Increases value atomically. More...
|
|
static ASPOSECPP_SHARED_API int64_t | Add (int64_t &location1, int64_t value) |
| Increases value atomically. More...
|
|
static ASPOSECPP_SHARED_API int32_t | ExchangeAdd (int32_t &location1, int32_t value) |
| Increases value atomically via exchange-add procedure. More...
|
|
static ASPOSECPP_SHARED_API int64_t | ExchangeAdd (int64_t &location1, int64_t value) |
| Increases value atomically via exchange-add procedure. More...
|
|
template<typename T > |
static std::enable_if< IsSupportedInt< T >, T >::type | Exchange (T &location1, T value) |
| Exchanges value on variable: stores new value and returns the value variable had immediately before storing. More...
|
|
template<typename T > |
static std::enable_if<!IsSupportedInt< T >, T >::type | Exchange (T &location1, T value) |
| Exchanges value on variable: stores new value and returns the value variable had immediately before storing. Not implemented. More...
|
|
template<typename T > |
static std::enable_if< IsSupportedInt< T >, T >::type | CompareExchange (T &location1, T value, T comparand) |
| Compare-exchanges value on variable: checks if variable is equal to specific value and stores the new value only if stored value matches expected. More...
|
|
template<typename T > |
static std::enable_if<!IsSupportedInt< T >, T >::type | CompareExchange (T &location1, T value, T comparand) |
| 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. More...
|
|
static ASPOSECPP_SHARED_API int32_t | CompareExchange (int32_t &location1, int32_t value, int32_t comparand, bool &succeeded) |
| Compare-exchanges value on variable: checks if variable is equal to specific value and stores the new value only if stored value matches expected. More...
|
|
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.