ROFL-pipeline
v0.6.0dev
|
Defines the atomic operations API, mostly atomic increments and addition operations. More...
Go to the source code of this file.
Functions | |
ROFL_BEGIN_DECLS void | platform_atomic_inc64 (uint64_t *counter, platform_mutex_t *mutex) |
Performs an atomic increment to the counter (64 bit type). More... | |
void | platform_atomic_inc32 (uint32_t *counter, platform_mutex_t *mutex) |
Performs an atomic increment to the counter (32 bit type). More... | |
void | platform_atomic_dec32 (uint32_t *counter, platform_mutex_t *mutex) |
Performs an atomic decrement of the counter (32 bit type). More... | |
void | platform_atomic_add64 (uint64_t *counter, uint64_t value, platform_mutex_t *mutex) |
Performs an atomic addition to the counter (64 bit type). More... | |
void | platform_atomic_add32 (uint32_t *counter, uint32_t value, platform_mutex_t *mutex) |
Performs an atomic addition to the counter (32 bit type). More... | |
Defines the atomic operations API, mostly atomic increments and addition operations.
The atomic operations API is the set of calls used by library to perform atomic increments
The user MUST provide an implementation for his/her particular platform.
Definition in file atomic_operations.h.