atomic_flag_clear Function

Sets the bool flag in an atomic_flag object to false, within the memory_order_seq_cstmemory_order.

inline void atomic_flag_clear(
   volatile atomic_flag *Flag
) _NOEXCEPT;
inline void atomic_flag_clear(
   atomic_flag *Flag
) _NOEXCEPT;

Parameters

  • Flag
    A pointer to an atomic_flag object.

Requirements

Header: atomic

Namespace: std

See Also

Reference

<atomic>