AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
Atomic_Increment_u32

Atomically adds 1 to the given value.

static inline uint32_t Atomic_Increment_u32( uint32_t volatile * pAugend )
Parameters
[in,out]pAugendPointer to the augend and where the sum is stored.
Returns
The initial value at pAugend.