std::atomic_flag_notify_all

Header: <atomic>

Performs atomic notifying operations.

# Declarations

void atomic_flag_notify_all( std::atomic_flag* object ) noexcept;

(since C++20)

void atomic_flag_notify_all( volatile std::atomic_flag* object ) noexcept;

(since C++20)

# Parameters

# Return value

(none)

# Notes

This form of change-detection is often more efficient than simple polling or pure spinlocks.

# Example

This section is incompleteReason: no example

# See also