function
<atomic>
std::atomic_flag_clear_explicit
void atomic_flag_clear (volatile atomic_flag* obj, memory_order sync) noexcept;void atomic_flag_clear (atomic_flag* obj, memory_order sync) noexcept;
Clear atomic flag (explicit memory order)
Parameters
- obj
- Pointer to the atomic_flag object to clear.
- sync
- Synchronization mode for the operation.
This shall be a values of the enum
type memory_order.
Data races
No data races (atomic operation). Memory order specified by argument sync.
Exception safety
No-throw guarantee: never throws exceptions.