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::test(3) C++ Standard Libary std::atomic_flag::test(3)

std::atomic_flag::test - std::atomic_flag::test


bool test( std::memory_order order = std::memory_order::seq_cst )
const volatile noexcept; (since C++20)
bool test( std::memory_order order = std::memory_order::seq_cst )
const noexcept;


Atomically reads the value of the *this and returns the value.


order - the memory synchronization ordering for this operation: must not be
std::memory_order::release or std::memory_order::acq_rel


The value atomically read.


This section is incomplete
Reason: no example


atomic_flag_test
atomic_flag_test_explicit atomically returns the value of the flag
(C++20) (function)
(C++20)

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.