std::atomic_flag_notify_one
Min standard notice:
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
object: pointer to the atomic_flag object to notify
# 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