function template · 3 overloads
std::atomic_notify_all
- Header
<atomic>- Draft
- [atomics.syn]
- Scope
std- cppreference
- std::atomic_notify_all
Overloads
- (1)
template<class T> constexpr void atomic_notify_all(atomic<T>* object) noexcept; - (2)
template<class T> requires (atomic-notify-lock-free<T, atomic<T>>) void atomic_notify_all(volatile atomic<T>* object) noexcept; - (3)
template<class T> requires (!atomic-notify-lock-free<T, atomic<T>>) [[deprecated( "a volatile atomic operation on a type that is not always lock-free is deprecated ([depr.atomics.volatile])")]] void atomic_notify_all(volatile atomic<T>* object) noexcept;