std::atomic_flag - Man Page
atomic_flag
Synopsis
#include <atomic>
Inherits __atomic_flag_base.
Public Member Functions
constexpr atomic_flag (bool __i) noexcept
atomic_flag (const atomic_flag &)=delete
void clear (memory_order __m=memory_order_seq_cst) noexcept
void clear (memory_order __m=memory_order_seq_cst) volatile noexcept
void notify_all () noexcept
void notify_one () noexcept
atomic_flag & operator= (const atomic_flag &) volatile=delete
atomic_flag & operator= (const atomic_flag &)=delete
bool test (memory_order __m=memory_order_seq_cst) const noexcept
bool test (memory_order __m=memory_order_seq_cst) const volatile noexcept
bool test_and_set (memory_order __m=memory_order_seq_cst) noexcept
bool test_and_set (memory_order __m=memory_order_seq_cst) volatile noexcept
void wait (bool __old, memory_order __m=memory_order_seq_cst) const noexcept
Detailed Description
atomic_flag
Definition at line 212 of file atomic.
Constructor & Destructor Documentation
constexpr std::atomic_flag::atomic_flag (bool __i) [inline], [constexpr], [noexcept]
Definition at line 221 of file atomic.
Member Function Documentation
void std::atomic_flag::clear (memory_order __m = memory_order_seq_cst) [inline], [noexcept]
Definition at line 285 of file atomic.
void std::atomic_flag::clear (memory_order __m = memory_order_seq_cst) volatile [inline], [noexcept]
Definition at line 297 of file atomic.
void std::atomic_flag::notify_all () [inline], [noexcept]
Definition at line 277 of file atomic.
void std::atomic_flag::notify_one () [inline], [noexcept]
Definition at line 271 of file atomic.
bool std::atomic_flag::test (memory_order __m = memory_order_seq_cst) const [inline], [noexcept]
Definition at line 241 of file atomic.
bool std::atomic_flag::test (memory_order __m = memory_order_seq_cst) const volatile [inline], [noexcept]
Definition at line 249 of file atomic.
bool std::atomic_flag::test_and_set (memory_order __m = memory_order_seq_cst) [inline], [noexcept]
Definition at line 226 of file atomic.
bool std::atomic_flag::test_and_set (memory_order __m = memory_order_seq_cst) volatile [inline], [noexcept]
Definition at line 232 of file atomic.
void std::atomic_flag::wait (bool __old, memory_order __m = memory_order_seq_cst) const [inline], [noexcept]
Definition at line 258 of file atomic.
Author
Generated automatically by Doxygen for libstdc++ from the source code.