std::atomic_flag::notify_all

Performs atomic notifying operations.

# Declarations

void notify_all() noexcept;

(since C++20) (constexpr since C++26)

void notify_all() volatile noexcept;

(since C++20)

# 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