Purpose
Reads a value from an atomic object.
Prototypes
C atomic_load(volatile A *object);
Parameters
- A
- One of the atomic types.
- C
- The corresponding non-atomic type of A.
- object
- A pointer that points to the atomic object to access.
Return value
Atomically returns the value
pointed to by object.