#include "TCTypes.h"
Go to the source code of this file.
Namespaces | |
namespace | TC |
namespace | TC::Interlocked |
Methods for interlocked modifying of integer values. | |
Typedefs | |
typedef long | TC::Interlocked::Type |
Data type for interlockee operations. | |
Functions | |
Type | TC::Interlocked::Increment (Type &target) |
The function increments (increases by one) the value of the specified variable. | |
Type | TC::Interlocked::Decrement (Type &target) |
The function decrements (decreases by one) the value of the specified variable. | |
Type | TC::Interlocked::Exchange (Type &target, sint32 new_value) |
The function atomically exchanges a pair of values. | |
Type | TC::Interlocked::Add (Type &target, sint32 value_to_add) |
The function performs an atomic addition of an increment value to an addend variable. |
Definition in file TCInterlocked.h.