Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 910 Bytes

atomic_load.adoc

File metadata and controls

53 lines (31 loc) · 910 Bytes

atomic_load, atomic_load_explicit

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)

Parameters

object
order

The order argument shall not be memory_order_release, nor memory_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.