GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::atomic_flag::notify_all(3) C++ Standard Libary std::atomic_flag::notify_all(3)

std::atomic_flag::notify_all - std::atomic_flag::notify_all


void notify_all() noexcept; (since C++20)
void notify_all() volatile noexcept;


Performs atomic notifying operations.


Unblocks all threads blocked in atomic waiting operations (i.e. wait()) on *this, if
there are any; otherwise does nothing.


(none)


This form of change-detection is often more efficient than simple polling or pure
spinlocks.


This section is incomplete
Reason: no example


wait blocks the thread until notified and the atomic value
(C++20) changes
(public member function)
atomic_flag_wait
atomic_flag_wait_explicit blocks the thread until notified and the flag changes
(C++20) (function)
(C++20)
atomic_flag_notify_one notifies a thread blocked in atomic_flag_wait
(C++20) (function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.