atomic_load, atomic_load_explicit functions.
C atomic_load(volatile A *object)
C atomic_load_explicit(volatile A *object,
memory_order order)
C atomic_load_explicit(volatile A *object,
memory_order order,
memory_scope scope)
object
order
-
The
order
argument shall not bememory_order_release
, normemory_order_acq_rel
. scope
-
== Description
Memory is affected according to the value of order
.
Atomically returns the value pointed to by object
.
Atomically returns the value pointed to by object
.