AudRecordLib
|
Contains template wrappers for the Interlocked* compiler intrinsics. More...
Go to the source code of this file.
Classes | |
struct | Atomic< Type, size > |
struct | Atomic< Type, 4u > |
Functions | |
template<class Type > | |
Type | InterlockedExchange (Type *a, Type b) |
template<class Type > | |
Type | InterlockedRead (Type *a) |
Contains template wrappers for the Interlocked* compiler intrinsics.
Type InterlockedExchange | ( | Type * | a, |
Type | b | ||
) |
Atomically updates a value
a | Pointer to a value to update |
b | Value to update with |
The | inferred type of the values |
Type InterlockedRead | ( | Type * | a | ) |
Atomically reads a value from a memory location
a | Pointer to the value to read |
The | inferred type of the value to read |