std::atomic_notify_one

Header: <atomic>

Performs atomic notifying operations.

# Declarations

template< class T >
void atomic_notify_one( std::atomic<T>* object );

(since C++20)

template< class T >
void atomic_notify_one( volatile std::atomic<T>* object );

(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