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

Atomically subtracts 1 from the given value.

static inline uint32_t Atomic_Decrement_u32( uint32_t volatile * pMinuend )
Parameters
[in,out]pMinuendPointer to the minuend and where the difference is stored.
Returns
The initial value at pMinuend.