Manpages - std_atomic_flag.3
Table of Contents
NAME
std::atomic_flag - atomic_flag
SYNOPSIS
#include <atomic_base.h>
Inherits std::__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
atomic_flag & operator= (const atomic_flag &) volatile=delete
atomic_flag & operator= (const atomic_flag &)=delete
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
Public Attributes
__atomic_flag_data_type _M_i
Detailed Description
atomic_flag
Definition at line 189 of file atomic_base.h.
Constructor & Destructor Documentation
constexpr std::atomic_flag::atomic_flag (bool __i)= [inline]=,
= [constexpr]=, = [noexcept]= Definition at line 198 of file atomic_base.h.
Member Function Documentation
void std::atomic_flag::clear (memory_order __m =
memory_order_seq_cst
)= [inline]=, = [noexcept]=
Definition at line 262 of file atomic_base.h.
void std::atomic_flag::clear (memory_order __m =
memory_order_seq_cst
) volatile= [inline]=, = [noexcept]=
Definition at line 274 of file atomic_base.h.
bool std::atomic_flag::test_and_set (memory_order __m =
memory_order_seq_cst
)= [inline]=, = [noexcept]=
Definition at line 203 of file atomic_base.h.
bool std::atomic_flag::test_and_set (memory_order __m =
memory_order_seq_cst
) volatile= [inline]=, = [noexcept]=
Definition at line 209 of file atomic_base.h.
Member Data Documentation
__atomic_flag_data_type std::__atomic_flag_base::_M_i= [inherited]=
Definition at line 181 of file atomic_base.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.