atomic_flag::clear Method
Sets the bool flag that is stored in *this to false, within the specified memory_order constraints.
void atomic_flag::clear(
memory_order Order = memory_order_seq_cst
) volatile _NOEXCEPT;
void atomic_flag::clear(
memory_order Order = memory_order_seq_cst
) _NOEXCEPT;
Parameters
- Order
A memory_order.
Requirements
Header: atomic
Namespace: std