atomic_flag_clear_explicit Function

Sets the bool flag in an atomic_flag object to false, within the specified memory_order constraints.

inline void atomic_flag_clear_explicit(
   volatile atomic_flag *Flag,
   memory_order Order
) _NOEXCEPT;
inline void atomic_flag_clear_explicit(
   atomic_flag *Flag,
   memory_order Order
) _NOEXCEPT;

Parameters

  • Flag
    A pointer to an atomic_flag object.

  • Order
    A memory_order.

Requirements

Header: atomic

Namespace: std

See Also

Reference

<atomic>