std::atomic_flag_notify_one

Header: <atomic>

Performs atomic notifying operations.

# Declarations

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

(since C++20)

void atomic_flag_notify_one( 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