다음을 통해 공유


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

Requirements

Header: atomic

Namespace: std

See Also

Reference

atomic_flag Structure

<atomic>

atomic_flag_clear_explicit Function