libstdc++: std::atomic_flag Struct Reference (original) (raw)

#include <[atomic_base.h](a00344%5Fsource.html)>

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

atomic_flag

Definition at line 209 of file atomic_base.h.

constexpr std::atomic_flag::atomic_flag ( bool __i) inlineconstexprnoexcept

clear() [1/2]

void std::atomic_flag::clear ( memory_order __m = memory_order_seq_cst) inlinenoexcept

clear() [2/2]

void std::atomic_flag::clear ( memory_order __m = memory_order_seq_cst) volatile inlinenoexcept

notify_all()

void std::atomic_flag::notify_all ( ) inlinenoexcept

notify_one()

void std::atomic_flag::notify_one ( ) inlinenoexcept

test() [1/2]

bool std::atomic_flag::test ( memory_order __m = memory_order_seq_cst) const inlinenoexcept

test() [2/2]

bool std::atomic_flag::test ( memory_order __m = memory_order_seq_cst) const volatile inlinenoexcept

test_and_set() [1/2]

bool std::atomic_flag::test_and_set ( memory_order __m = memory_order_seq_cst) inlinenoexcept

test_and_set() [2/2]

bool std::atomic_flag::test_and_set ( memory_order __m = memory_order_seq_cst) volatile inlinenoexcept

wait()

void std::atomic_flag::wait ( bool __old, memory_order __m = memory_order_seq_cst ) const inlinenoexcept

The documentation for this struct was generated from the following file: