libstdc++
Atomics
Collaboration diagram for Atomics:

Classes

struct  std::__atomic_base< _ITp >
 
struct  std::__atomic_base< _PTp * >
 
struct  std::__atomic_flag_base
 
class  std::atomic< _Tp >
 
struct  std::atomic< _Tp * >
 
struct  std::atomic< bool >
 
struct  std::atomic< char >
 
struct  std::atomic< char16_t >
 
struct  std::atomic< char32_t >
 
struct  std::atomic< int >
 
struct  std::atomic< long >
 
struct  std::atomic< long long >
 
struct  std::atomic< short >
 
struct  std::atomic< signed char >
 
struct  std::atomic< unsigned char >
 
struct  std::atomic< unsigned int >
 
struct  std::atomic< unsigned long >
 
struct  std::atomic< unsigned long long >
 
struct  std::atomic< unsigned short >
 
struct  std::atomic< wchar_t >
 
struct  std::atomic_flag
 
struct  std::atomic_ref< _Tp >
 

Macros

#define __cpp_lib_atomic_float
 
#define __cpp_lib_atomic_is_always_lock_free
 
#define __cpp_lib_atomic_ref
 
#define __cpp_lib_atomic_value_initialization
 
#define _GLIBCXX20_INIT(I)
 
#define _GLIBCXX20_INIT(I)
 
#define ATOMIC_BOOL_LOCK_FREE
 
#define ATOMIC_CHAR16_T_LOCK_FREE
 
#define ATOMIC_CHAR32_T_LOCK_FREE
 
#define ATOMIC_CHAR_LOCK_FREE
 
#define ATOMIC_FLAG_INIT
 
#define ATOMIC_INT_LOCK_FREE
 
#define ATOMIC_LLONG_LOCK_FREE
 
#define ATOMIC_LONG_LOCK_FREE
 
#define ATOMIC_POINTER_LOCK_FREE
 
#define ATOMIC_SHORT_LOCK_FREE
 
#define ATOMIC_VAR_INIT(_VI)
 
#define ATOMIC_WCHAR_T_LOCK_FREE
 

Typedefs

typedef unsigned char std::__atomic_flag_data_type
 
typedef atomic< bool > std::atomic_bool
 
typedef atomic< char > std::atomic_char
 
typedef atomic< char16_t > std::atomic_char16_t
 
typedef atomic< char32_t > std::atomic_char32_t
 
typedef atomic< int > std::atomic_int
 
typedef atomic< int16_t > std::atomic_int16_t
 
typedef atomic< int32_t > std::atomic_int32_t
 
typedef atomic< int64_t > std::atomic_int64_t
 
typedef atomic< int8_t > std::atomic_int8_t
 
typedef atomic< int_fast16_t > std::atomic_int_fast16_t
 
typedef atomic< int_fast32_t > std::atomic_int_fast32_t
 
typedef atomic< int_fast64_t > std::atomic_int_fast64_t
 
typedef atomic< int_fast8_t > std::atomic_int_fast8_t
 
typedef atomic< int_least16_t > std::atomic_int_least16_t
 
typedef atomic< int_least32_t > std::atomic_int_least32_t
 
typedef atomic< int_least64_t > std::atomic_int_least64_t
 
typedef atomic< int_least8_t > std::atomic_int_least8_t
 
typedef atomic< intmax_t > std::atomic_intmax_t
 
typedef atomic< intptr_t > std::atomic_intptr_t
 
typedef atomic< long long > std::atomic_llong
 
typedef atomic< long > std::atomic_long
 
typedef atomic< ptrdiff_t > std::atomic_ptrdiff_t
 
typedef atomic< signed char > std::atomic_schar
 
typedef atomic< short > std::atomic_short
 
typedef atomic< size_t > std::atomic_size_t
 
typedef atomic< unsigned char > std::atomic_uchar
 
typedef atomic< unsigned int > std::atomic_uint
 
typedef atomic< uint16_t > std::atomic_uint16_t
 
typedef atomic< uint32_t > std::atomic_uint32_t
 
typedef atomic< uint64_t > std::atomic_uint64_t
 
typedef atomic< uint8_t > std::atomic_uint8_t
 
typedef atomic< uint_fast16_t > std::atomic_uint_fast16_t
 
typedef atomic< uint_fast32_t > std::atomic_uint_fast32_t
 
typedef atomic< uint_fast64_t > std::atomic_uint_fast64_t
 
typedef atomic< uint_fast8_t > std::atomic_uint_fast8_t
 
typedef atomic< uint_least16_t > std::atomic_uint_least16_t
 
typedef atomic< uint_least32_t > std::atomic_uint_least32_t
 
typedef atomic< uint_least64_t > std::atomic_uint_least64_t
 
typedef atomic< uint_least8_t > std::atomic_uint_least8_t
 
typedef atomic< uintmax_t > std::atomic_uintmax_t
 
typedef atomic< uintptr_t > std::atomic_uintptr_t
 
typedef atomic< unsigned long long > std::atomic_ullong
 
typedef atomic< unsigned long > std::atomic_ulong
 
typedef atomic< unsigned short > std::atomic_ushort
 
typedef atomic< wchar_t > std::atomic_wchar_t
 

Enumerations

enum  __memory_order_modifier { __memory_order_mask , __memory_order_modifier_mask , __memory_order_hle_acquire , __memory_order_hle_release }
 
enum class  std::memory_order : int {
  relaxed , consume , acquire , release ,
  acq_rel , seq_cst
}
 

Functions

constexpr memory_order std::__cmpexch_failure_order (memory_order __m) noexcept
 
constexpr memory_order std::__cmpexch_failure_order2 (memory_order __m) noexcept
 
constexpr bool std::__is_valid_cmpexch_failure_order (memory_order __m) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_strong (atomic< _ITp > *__a, __atomic_val_t< _ITp > *__i1, __atomic_val_t< _ITp > __i2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_strong (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > *__i1, __atomic_val_t< _ITp > __i2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_strong_explicit (atomic< _ITp > *__a, __atomic_val_t< _ITp > *__i1, __atomic_val_t< _ITp > __i2, memory_order __m1, memory_order __m2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_strong_explicit (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > *__i1, __atomic_val_t< _ITp > __i2, memory_order __m1, memory_order __m2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_weak (atomic< _ITp > *__a, __atomic_val_t< _ITp > *__i1, __atomic_val_t< _ITp > __i2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_weak (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > *__i1, __atomic_val_t< _ITp > __i2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_weak_explicit (atomic< _ITp > *__a, __atomic_val_t< _ITp > *__i1, __atomic_val_t< _ITp > __i2, memory_order __m1, memory_order __m2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_weak_explicit (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > *__i1, __atomic_val_t< _ITp > __i2, memory_order __m1, memory_order __m2) noexcept
 
template<typename _ITp >
_ITp std::atomic_exchange (atomic< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_exchange (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_exchange_explicit (atomic< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_exchange_explicit (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_add (atomic< _ITp > *__a, __atomic_diff_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_add (volatile atomic< _ITp > *__a, __atomic_diff_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_add_explicit (atomic< _ITp > *__a, __atomic_diff_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_add_explicit (volatile atomic< _ITp > *__a, __atomic_diff_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_and (__atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_and (volatile __atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_and_explicit (__atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_and_explicit (volatile __atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_or (__atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_or (volatile __atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_or_explicit (__atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_or_explicit (volatile __atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_sub (atomic< _ITp > *__a, __atomic_diff_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_sub (volatile atomic< _ITp > *__a, __atomic_diff_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_sub_explicit (atomic< _ITp > *__a, __atomic_diff_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_sub_explicit (volatile atomic< _ITp > *__a, __atomic_diff_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_xor (__atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_xor (volatile __atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_xor_explicit (__atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_xor_explicit (volatile __atomic_base< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
void std::atomic_flag_clear (atomic_flag *__a) noexcept
 
void std::atomic_flag_clear (volatile atomic_flag *__a) noexcept
 
void std::atomic_flag_clear_explicit (atomic_flag *__a, memory_order __m) noexcept
 
void std::atomic_flag_clear_explicit (volatile atomic_flag *__a, memory_order __m) noexcept
 
void std::atomic_flag_notify_all (atomic_flag *__a) noexcept
 
void std::atomic_flag_notify_one (atomic_flag *__a) noexcept
 
bool std::atomic_flag_test (const atomic_flag *__a) noexcept
 
bool std::atomic_flag_test (const volatile atomic_flag *__a) noexcept
 
bool std::atomic_flag_test_and_set (atomic_flag *__a) noexcept
 
bool std::atomic_flag_test_and_set (volatile atomic_flag *__a) noexcept
 
bool std::atomic_flag_test_and_set_explicit (atomic_flag *__a, memory_order __m) noexcept
 
bool std::atomic_flag_test_and_set_explicit (volatile atomic_flag *__a, memory_order __m) noexcept
 
bool std::atomic_flag_test_explicit (const atomic_flag *__a, memory_order __m) noexcept
 
bool std::atomic_flag_test_explicit (const volatile atomic_flag *__a, memory_order __m) noexcept
 
void std::atomic_flag_wait (atomic_flag *__a, bool __old) noexcept
 
void std::atomic_flag_wait_explicit (atomic_flag *__a, bool __old, memory_order __m) noexcept
 
template<typename _ITp >
void std::atomic_init (atomic< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
void std::atomic_init (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
bool std::atomic_is_lock_free (const atomic< _ITp > *__a) noexcept
 
template<typename _ITp >
bool std::atomic_is_lock_free (const volatile atomic< _ITp > *__a) noexcept
 
template<typename _ITp >
_ITp std::atomic_load (const atomic< _ITp > *__a) noexcept
 
template<typename _ITp >
_ITp std::atomic_load (const volatile atomic< _ITp > *__a) noexcept
 
template<typename _ITp >
_ITp std::atomic_load_explicit (const atomic< _ITp > *__a, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_load_explicit (const volatile atomic< _ITp > *__a, memory_order __m) noexcept
 
template<typename _Tp >
void std::atomic_notify_all (atomic< _Tp > *__a) noexcept
 
template<typename _Tp >
void std::atomic_notify_one (atomic< _Tp > *__a) noexcept
 
void std::atomic_signal_fence (memory_order __m) noexcept
 
template<typename _ITp >
void std::atomic_store (atomic< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
void std::atomic_store (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > __i) noexcept
 
template<typename _ITp >
void std::atomic_store_explicit (atomic< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
template<typename _ITp >
void std::atomic_store_explicit (volatile atomic< _ITp > *__a, __atomic_val_t< _ITp > __i, memory_order __m) noexcept
 
void std::atomic_thread_fence (memory_order __m) noexcept
 
template<typename _Tp >
void std::atomic_wait (const atomic< _Tp > *__a, typename std::atomic< _Tp >::value_type __old) noexcept
 
template<typename _Tp >
void std::atomic_wait_explicit (const atomic< _Tp > *__a, typename std::atomic< _Tp >::value_type __old, std::memory_order __m) noexcept
 
template<typename _Tp >
_Tp std::kill_dependency (_Tp __y) noexcept
 
constexpr memory_order std::operator& (memory_order __m, __memory_order_modifier __mod)
 
constexpr memory_order std::operator| (memory_order __m, __memory_order_modifier __mod)
 

Variables

constexpr memory_order std::memory_order_acq_rel
 
constexpr memory_order std::memory_order_acquire
 
constexpr memory_order std::memory_order_consume
 
constexpr memory_order std::memory_order_relaxed
 
constexpr memory_order std::memory_order_release
 
constexpr memory_order std::memory_order_seq_cst
 

Detailed Description

Components for performing atomic operations.

Macro Definition Documentation

◆ __cpp_lib_atomic_float

#define __cpp_lib_atomic_float

Definition at line 1623 of file atomic.

◆ __cpp_lib_atomic_is_always_lock_free

#define __cpp_lib_atomic_is_always_lock_free

Definition at line 53 of file atomic.

◆ __cpp_lib_atomic_ref

#define __cpp_lib_atomic_ref

Definition at line 1669 of file atomic.

◆ __cpp_lib_atomic_value_initialization

#define __cpp_lib_atomic_value_initialization

Definition at line 155 of file atomic_base.h.

◆ _GLIBCXX20_INIT [1/2]

#define _GLIBCXX20_INIT (   I)

Definition at line 187 of file atomic.

◆ _GLIBCXX20_INIT [2/2]

#define _GLIBCXX20_INIT (   I)

Definition at line 156 of file atomic_base.h.

◆ ATOMIC_BOOL_LOCK_FREE

#define ATOMIC_BOOL_LOCK_FREE

Lock-free property.

0 indicates that the types are never lock-free. 1 indicates that the types are sometimes lock-free. 2 indicates that the types are always lock-free.

Definition at line 49 of file atomic_lockfree_defines.h.

◆ ATOMIC_CHAR16_T_LOCK_FREE

#define ATOMIC_CHAR16_T_LOCK_FREE

Definition at line 55 of file atomic_lockfree_defines.h.

◆ ATOMIC_CHAR32_T_LOCK_FREE

#define ATOMIC_CHAR32_T_LOCK_FREE

Definition at line 56 of file atomic_lockfree_defines.h.

◆ ATOMIC_CHAR_LOCK_FREE

#define ATOMIC_CHAR_LOCK_FREE

Definition at line 50 of file atomic_lockfree_defines.h.

◆ ATOMIC_FLAG_INIT

#define ATOMIC_FLAG_INIT

Definition at line 193 of file atomic_base.h.

◆ ATOMIC_INT_LOCK_FREE

#define ATOMIC_INT_LOCK_FREE

Definition at line 58 of file atomic_lockfree_defines.h.

◆ ATOMIC_LLONG_LOCK_FREE

#define ATOMIC_LLONG_LOCK_FREE

Definition at line 60 of file atomic_lockfree_defines.h.

◆ ATOMIC_LONG_LOCK_FREE

#define ATOMIC_LONG_LOCK_FREE

Definition at line 59 of file atomic_lockfree_defines.h.

◆ ATOMIC_POINTER_LOCK_FREE

#define ATOMIC_POINTER_LOCK_FREE

Definition at line 61 of file atomic_lockfree_defines.h.

◆ ATOMIC_SHORT_LOCK_FREE

#define ATOMIC_SHORT_LOCK_FREE

Definition at line 57 of file atomic_lockfree_defines.h.

◆ ATOMIC_VAR_INIT

#define ATOMIC_VAR_INIT (   _VI)

Definition at line 159 of file atomic_base.h.

◆ ATOMIC_WCHAR_T_LOCK_FREE

#define ATOMIC_WCHAR_T_LOCK_FREE

Definition at line 51 of file atomic_lockfree_defines.h.

Typedef Documentation

◆ __atomic_flag_data_type

typedef unsigned char std::__atomic_flag_data_type

Definition at line 171 of file atomic_base.h.

◆ atomic_bool

typedef atomic<bool> std::atomic_bool

atomic_bool

Definition at line 1059 of file atomic.

◆ atomic_char

typedef atomic<char> std::atomic_char

atomic_char

Definition at line 1062 of file atomic.

◆ atomic_char16_t

typedef atomic<char16_t> std::atomic_char16_t

atomic_char16_t

Definition at line 1103 of file atomic.

◆ atomic_char32_t

typedef atomic<char32_t> std::atomic_char32_t

atomic_char32_t

Definition at line 1106 of file atomic.

◆ atomic_int

typedef atomic<int> std::atomic_int

atomic_int

Definition at line 1077 of file atomic.

◆ atomic_int16_t

typedef atomic<int16_t> std::atomic_int16_t

atomic_int16_t

Definition at line 1119 of file atomic.

◆ atomic_int32_t

typedef atomic<int32_t> std::atomic_int32_t

atomic_int32_t

Definition at line 1125 of file atomic.

◆ atomic_int64_t

typedef atomic<int64_t> std::atomic_int64_t

atomic_int64_t

Definition at line 1131 of file atomic.

◆ atomic_int8_t

typedef atomic<int8_t> std::atomic_int8_t

atomic_int8_t

Definition at line 1113 of file atomic.

◆ atomic_int_fast16_t

typedef atomic<int_fast16_t> std::atomic_int_fast16_t

atomic_int_fast16_t

Definition at line 1169 of file atomic.

◆ atomic_int_fast32_t

typedef atomic<int_fast32_t> std::atomic_int_fast32_t

atomic_int_fast32_t

Definition at line 1175 of file atomic.

◆ atomic_int_fast64_t

typedef atomic<int_fast64_t> std::atomic_int_fast64_t

atomic_int_fast64_t

Definition at line 1181 of file atomic.

◆ atomic_int_fast8_t

typedef atomic<int_fast8_t> std::atomic_int_fast8_t

atomic_int_fast8_t

Definition at line 1163 of file atomic.

◆ atomic_int_least16_t

typedef atomic<int_least16_t> std::atomic_int_least16_t

atomic_int_least16_t

Definition at line 1144 of file atomic.

◆ atomic_int_least32_t

typedef atomic<int_least32_t> std::atomic_int_least32_t

atomic_int_least32_t

Definition at line 1150 of file atomic.

◆ atomic_int_least64_t

typedef atomic<int_least64_t> std::atomic_int_least64_t

atomic_int_least64_t

Definition at line 1156 of file atomic.

◆ atomic_int_least8_t

typedef atomic<int_least8_t> std::atomic_int_least8_t

atomic_int_least8_t

Definition at line 1138 of file atomic.

◆ atomic_intmax_t

typedef atomic<intmax_t> std::atomic_intmax_t

atomic_intmax_t

Definition at line 1202 of file atomic.

◆ atomic_intptr_t

typedef atomic<intptr_t> std::atomic_intptr_t

atomic_intptr_t

Definition at line 1189 of file atomic.

◆ atomic_llong

typedef atomic<long long> std::atomic_llong

atomic_llong

Definition at line 1089 of file atomic.

◆ atomic_long

typedef atomic<long> std::atomic_long

atomic_long

Definition at line 1083 of file atomic.

◆ atomic_ptrdiff_t

typedef atomic<ptrdiff_t> std::atomic_ptrdiff_t

atomic_ptrdiff_t

Definition at line 1198 of file atomic.

◆ atomic_schar

typedef atomic<signed char> std::atomic_schar

atomic_schar

Definition at line 1065 of file atomic.

◆ atomic_short

typedef atomic<short> std::atomic_short

atomic_short

Definition at line 1071 of file atomic.

◆ atomic_size_t

typedef atomic<size_t> std::atomic_size_t

atomic_size_t

Definition at line 1195 of file atomic.

◆ atomic_uchar

typedef atomic<unsigned char> std::atomic_uchar

atomic_uchar

Definition at line 1068 of file atomic.

◆ atomic_uint

typedef atomic<unsigned int> std::atomic_uint

atomic_uint

Definition at line 1080 of file atomic.

◆ atomic_uint16_t

typedef atomic<uint16_t> std::atomic_uint16_t

atomic_uint16_t

Definition at line 1122 of file atomic.

◆ atomic_uint32_t

typedef atomic<uint32_t> std::atomic_uint32_t

atomic_uint32_t

Definition at line 1128 of file atomic.

◆ atomic_uint64_t

typedef atomic<uint64_t> std::atomic_uint64_t

atomic_uint64_t

Definition at line 1134 of file atomic.

◆ atomic_uint8_t

typedef atomic<uint8_t> std::atomic_uint8_t

atomic_uint8_t

Definition at line 1116 of file atomic.

◆ atomic_uint_fast16_t

typedef atomic<uint_fast16_t> std::atomic_uint_fast16_t

atomic_uint_fast16_t

Definition at line 1172 of file atomic.

◆ atomic_uint_fast32_t

typedef atomic<uint_fast32_t> std::atomic_uint_fast32_t

atomic_uint_fast32_t

Definition at line 1178 of file atomic.

◆ atomic_uint_fast64_t

typedef atomic<uint_fast64_t> std::atomic_uint_fast64_t

atomic_uint_fast64_t

Definition at line 1184 of file atomic.

◆ atomic_uint_fast8_t

typedef atomic<uint_fast8_t> std::atomic_uint_fast8_t

atomic_uint_fast8_t

Definition at line 1166 of file atomic.

◆ atomic_uint_least16_t

typedef atomic<uint_least16_t> std::atomic_uint_least16_t

atomic_uint_least16_t

Definition at line 1147 of file atomic.

◆ atomic_uint_least32_t

typedef atomic<uint_least32_t> std::atomic_uint_least32_t

atomic_uint_least32_t

Definition at line 1153 of file atomic.

◆ atomic_uint_least64_t

typedef atomic<uint_least64_t> std::atomic_uint_least64_t

atomic_uint_least64_t

Definition at line 1159 of file atomic.

◆ atomic_uint_least8_t

typedef atomic<uint_least8_t> std::atomic_uint_least8_t

atomic_uint_least8_t

Definition at line 1141 of file atomic.

◆ atomic_uintmax_t

typedef atomic<uintmax_t> std::atomic_uintmax_t

atomic_uintmax_t

Definition at line 1205 of file atomic.

◆ atomic_uintptr_t

typedef atomic<uintptr_t> std::atomic_uintptr_t

atomic_uintptr_t

Definition at line 1192 of file atomic.

◆ atomic_ullong

typedef atomic<unsigned long long> std::atomic_ullong

atomic_ullong

Definition at line 1092 of file atomic.

◆ atomic_ulong

typedef atomic<unsigned long> std::atomic_ulong

atomic_ulong

Definition at line 1086 of file atomic.

◆ atomic_ushort

typedef atomic<unsigned short> std::atomic_ushort

atomic_ushort

Definition at line 1074 of file atomic.

◆ atomic_wchar_t

typedef atomic<wchar_t> std::atomic_wchar_t

atomic_wchar_t

Definition at line 1095 of file atomic.

Enumeration Type Documentation

◆ __memory_order_modifier

enum std::__memory_order_modifier

Definition at line 89 of file atomic_base.h.

◆ memory_order

enum class std::memory_order : int
strong

Enumeration for memory_order.

Definition at line 61 of file atomic_base.h.

Function Documentation

◆ __cmpexch_failure_order()

constexpr memory_order std::__cmpexch_failure_order ( memory_order  __m)
constexprnoexcept

Definition at line 118 of file atomic_base.h.

◆ __cmpexch_failure_order2()

constexpr memory_order std::__cmpexch_failure_order2 ( memory_order  __m)
constexprnoexcept

Definition at line 111 of file atomic_base.h.

◆ __is_valid_cmpexch_failure_order()

constexpr bool std::__is_valid_cmpexch_failure_order ( memory_order  __m)
constexprnoexcept

Definition at line 125 of file atomic_base.h.

◆ atomic_compare_exchange_strong() [1/2]

template<typename _ITp >
bool std::atomic_compare_exchange_strong ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp > *  __i1,
__atomic_val_t< _ITp >  __i2 
)
inlinenoexcept

Definition at line 1442 of file atomic.

◆ atomic_compare_exchange_strong() [2/2]

template<typename _ITp >
bool std::atomic_compare_exchange_strong ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp > *  __i1,
__atomic_val_t< _ITp >  __i2 
)
inlinenoexcept

Definition at line 1453 of file atomic.

◆ atomic_compare_exchange_strong_explicit() [1/2]

template<typename _ITp >
bool std::atomic_compare_exchange_strong_explicit ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp > *  __i1,
__atomic_val_t< _ITp >  __i2,
memory_order  __m1,
memory_order  __m2 
)
inlinenoexcept

Definition at line 1370 of file atomic.

◆ atomic_compare_exchange_strong_explicit() [2/2]

template<typename _ITp >
bool std::atomic_compare_exchange_strong_explicit ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp > *  __i1,
__atomic_val_t< _ITp >  __i2,
memory_order  __m1,
memory_order  __m2 
)
inlinenoexcept

Definition at line 1379 of file atomic.

◆ atomic_compare_exchange_weak() [1/2]

template<typename _ITp >
bool std::atomic_compare_exchange_weak ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp > *  __i1,
__atomic_val_t< _ITp >  __i2 
)
inlinenoexcept

Definition at line 1420 of file atomic.

◆ atomic_compare_exchange_weak() [2/2]

template<typename _ITp >
bool std::atomic_compare_exchange_weak ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp > *  __i1,
__atomic_val_t< _ITp >  __i2 
)
inlinenoexcept

Definition at line 1431 of file atomic.

◆ atomic_compare_exchange_weak_explicit() [1/2]

template<typename _ITp >
bool std::atomic_compare_exchange_weak_explicit ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp > *  __i1,
__atomic_val_t< _ITp >  __i2,
memory_order  __m1,
memory_order  __m2 
)
inlinenoexcept

Definition at line 1352 of file atomic.

◆ atomic_compare_exchange_weak_explicit() [2/2]

template<typename _ITp >
bool std::atomic_compare_exchange_weak_explicit ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp > *  __i1,
__atomic_val_t< _ITp >  __i2,
memory_order  __m1,
memory_order  __m2 
)
inlinenoexcept

Definition at line 1361 of file atomic.

◆ atomic_exchange() [1/2]

template<typename _ITp >
_ITp std::atomic_exchange ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1409 of file atomic.

◆ atomic_exchange() [2/2]

template<typename _ITp >
_ITp std::atomic_exchange ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1414 of file atomic.

◆ atomic_exchange_explicit() [1/2]

template<typename _ITp >
_ITp std::atomic_exchange_explicit ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1339 of file atomic.

◆ atomic_exchange_explicit() [2/2]

template<typename _ITp >
_ITp std::atomic_exchange_explicit ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1345 of file atomic.

◆ atomic_fetch_add() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_add ( atomic< _ITp > *  __a,
__atomic_diff_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1564 of file atomic.

◆ atomic_fetch_add() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_add ( volatile atomic< _ITp > *  __a,
__atomic_diff_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1570 of file atomic.

◆ atomic_fetch_add_explicit() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_add_explicit ( atomic< _ITp > *  __a,
__atomic_diff_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1494 of file atomic.

◆ atomic_fetch_add_explicit() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_add_explicit ( volatile atomic< _ITp > *  __a,
__atomic_diff_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1501 of file atomic.

◆ atomic_fetch_and() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_and ( __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1588 of file atomic.

◆ atomic_fetch_and() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_and ( volatile __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1594 of file atomic.

◆ atomic_fetch_and_explicit() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_and_explicit ( __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1522 of file atomic.

◆ atomic_fetch_and_explicit() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_and_explicit ( volatile __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1529 of file atomic.

◆ atomic_fetch_or() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_or ( __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1600 of file atomic.

◆ atomic_fetch_or() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_or ( volatile __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1606 of file atomic.

◆ atomic_fetch_or_explicit() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_or_explicit ( __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1536 of file atomic.

◆ atomic_fetch_or_explicit() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_or_explicit ( volatile __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1543 of file atomic.

◆ atomic_fetch_sub() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_sub ( atomic< _ITp > *  __a,
__atomic_diff_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1576 of file atomic.

◆ atomic_fetch_sub() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_sub ( volatile atomic< _ITp > *  __a,
__atomic_diff_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1582 of file atomic.

◆ atomic_fetch_sub_explicit() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_sub_explicit ( atomic< _ITp > *  __a,
__atomic_diff_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1508 of file atomic.

◆ atomic_fetch_sub_explicit() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_sub_explicit ( volatile atomic< _ITp > *  __a,
__atomic_diff_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1515 of file atomic.

◆ atomic_fetch_xor() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_xor ( __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1612 of file atomic.

◆ atomic_fetch_xor() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_xor ( volatile __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1618 of file atomic.

◆ atomic_fetch_xor_explicit() [1/2]

template<typename _ITp >
_ITp std::atomic_fetch_xor_explicit ( __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1550 of file atomic.

◆ atomic_fetch_xor_explicit() [2/2]

template<typename _ITp >
_ITp std::atomic_fetch_xor_explicit ( volatile __atomic_base< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1557 of file atomic.

◆ atomic_flag_clear() [1/2]

void std::atomic_flag_clear ( atomic_flag __a)
inlinenoexcept

Definition at line 1257 of file atomic.

◆ atomic_flag_clear() [2/2]

void std::atomic_flag_clear ( volatile atomic_flag __a)
inlinenoexcept

Definition at line 1261 of file atomic.

◆ atomic_flag_clear_explicit() [1/2]

void std::atomic_flag_clear_explicit ( atomic_flag __a,
memory_order  __m 
)
inlinenoexcept

Definition at line 1240 of file atomic.

◆ atomic_flag_clear_explicit() [2/2]

void std::atomic_flag_clear_explicit ( volatile atomic_flag __a,
memory_order  __m 
)
inlinenoexcept

Definition at line 1244 of file atomic.

◆ atomic_flag_notify_all()

void std::atomic_flag_notify_all ( atomic_flag __a)
inlinenoexcept

Definition at line 1279 of file atomic.

◆ atomic_flag_notify_one()

void std::atomic_flag_notify_one ( atomic_flag __a)
inlinenoexcept

Definition at line 1275 of file atomic.

◆ atomic_flag_test() [1/2]

bool std::atomic_flag_test ( const atomic_flag __a)
inlinenoexcept

Definition at line 1221 of file atomic.

◆ atomic_flag_test() [2/2]

bool std::atomic_flag_test ( const volatile atomic_flag __a)
inlinenoexcept

Definition at line 1225 of file atomic.

◆ atomic_flag_test_and_set() [1/2]

bool std::atomic_flag_test_and_set ( atomic_flag __a)
inlinenoexcept

Definition at line 1249 of file atomic.

◆ atomic_flag_test_and_set() [2/2]

bool std::atomic_flag_test_and_set ( volatile atomic_flag __a)
inlinenoexcept

Definition at line 1253 of file atomic.

◆ atomic_flag_test_and_set_explicit() [1/2]

bool std::atomic_flag_test_and_set_explicit ( atomic_flag __a,
memory_order  __m 
)
inlinenoexcept

Definition at line 1210 of file atomic.

◆ atomic_flag_test_and_set_explicit() [2/2]

bool std::atomic_flag_test_and_set_explicit ( volatile atomic_flag __a,
memory_order  __m 
)
inlinenoexcept

Definition at line 1215 of file atomic.

◆ atomic_flag_test_explicit() [1/2]

bool std::atomic_flag_test_explicit ( const atomic_flag __a,
memory_order  __m 
)
inlinenoexcept

Definition at line 1229 of file atomic.

◆ atomic_flag_test_explicit() [2/2]

bool std::atomic_flag_test_explicit ( const volatile atomic_flag __a,
memory_order  __m 
)
inlinenoexcept

Definition at line 1234 of file atomic.

◆ atomic_flag_wait()

void std::atomic_flag_wait ( atomic_flag __a,
bool  __old 
)
inlinenoexcept

Definition at line 1266 of file atomic.

◆ atomic_flag_wait_explicit()

void std::atomic_flag_wait_explicit ( atomic_flag __a,
bool  __old,
memory_order  __m 
)
inlinenoexcept

Definition at line 1270 of file atomic.

◆ atomic_init() [1/2]

template<typename _ITp >
void std::atomic_init ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1306 of file atomic.

◆ atomic_init() [2/2]

template<typename _ITp >
void std::atomic_init ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1311 of file atomic.

◆ atomic_is_lock_free() [1/2]

template<typename _ITp >
bool std::atomic_is_lock_free ( const atomic< _ITp > *  __a)
inlinenoexcept

Definition at line 1296 of file atomic.

◆ atomic_is_lock_free() [2/2]

template<typename _ITp >
bool std::atomic_is_lock_free ( const volatile atomic< _ITp > *  __a)
inlinenoexcept

Definition at line 1301 of file atomic.

◆ atomic_load() [1/2]

template<typename _ITp >
_ITp std::atomic_load ( const atomic< _ITp > *  __a)
inlinenoexcept

Definition at line 1399 of file atomic.

◆ atomic_load() [2/2]

template<typename _ITp >
_ITp std::atomic_load ( const volatile atomic< _ITp > *  __a)
inlinenoexcept

Definition at line 1404 of file atomic.

◆ atomic_load_explicit() [1/2]

template<typename _ITp >
_ITp std::atomic_load_explicit ( const atomic< _ITp > *  __a,
memory_order  __m 
)
inlinenoexcept

Definition at line 1328 of file atomic.

◆ atomic_load_explicit() [2/2]

template<typename _ITp >
_ITp std::atomic_load_explicit ( const volatile atomic< _ITp > *  __a,
memory_order  __m 
)
inlinenoexcept

Definition at line 1333 of file atomic.

◆ atomic_notify_all()

template<typename _Tp >
void std::atomic_notify_all ( atomic< _Tp > *  __a)
inlinenoexcept

Definition at line 1484 of file atomic.

◆ atomic_notify_one()

template<typename _Tp >
void std::atomic_notify_one ( atomic< _Tp > *  __a)
inlinenoexcept

Definition at line 1479 of file atomic.

◆ atomic_signal_fence()

void std::atomic_signal_fence ( memory_order  __m)
inlinenoexcept

Definition at line 136 of file atomic_base.h.

◆ atomic_store() [1/2]

template<typename _ITp >
void std::atomic_store ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1389 of file atomic.

◆ atomic_store() [2/2]

template<typename _ITp >
void std::atomic_store ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i 
)
inlinenoexcept

Definition at line 1394 of file atomic.

◆ atomic_store_explicit() [1/2]

template<typename _ITp >
void std::atomic_store_explicit ( atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1316 of file atomic.

◆ atomic_store_explicit() [2/2]

template<typename _ITp >
void std::atomic_store_explicit ( volatile atomic< _ITp > *  __a,
__atomic_val_t< _ITp >  __i,
memory_order  __m 
)
inlinenoexcept

Definition at line 1322 of file atomic.

◆ atomic_thread_fence()

void std::atomic_thread_fence ( memory_order  __m)
inlinenoexcept

Definition at line 132 of file atomic_base.h.

◆ atomic_wait()

template<typename _Tp >
void std::atomic_wait ( const atomic< _Tp > *  __a,
typename std::atomic< _Tp >::value_type  __old 
)
inlinenoexcept

Definition at line 1466 of file atomic.

◆ atomic_wait_explicit()

template<typename _Tp >
void std::atomic_wait_explicit ( const atomic< _Tp > *  __a,
typename std::atomic< _Tp >::value_type  __old,
std::memory_order  __m 
)
inlinenoexcept

Definition at line 1472 of file atomic.

◆ kill_dependency()

template<typename _Tp >
_Tp std::kill_dependency ( _Tp  __y)
inlinenoexcept

kill_dependency

Definition at line 142 of file atomic_base.h.

◆ operator&()

constexpr memory_order std::operator& ( memory_order  __m,
__memory_order_modifier  __mod 
)
constexpr

Definition at line 104 of file atomic_base.h.

◆ operator|()

constexpr memory_order std::operator| ( memory_order  __m,
__memory_order_modifier  __mod 
)
constexpr

Definition at line 98 of file atomic_base.h.

Variable Documentation

◆ memory_order_acq_rel

constexpr memory_order std::memory_order_acq_rel
inlineconstexpr

Definition at line 75 of file atomic_base.h.

◆ memory_order_acquire

constexpr memory_order std::memory_order_acquire
inlineconstexpr

Definition at line 73 of file atomic_base.h.

◆ memory_order_consume

constexpr memory_order std::memory_order_consume
inlineconstexpr

Definition at line 72 of file atomic_base.h.

◆ memory_order_relaxed

constexpr memory_order std::memory_order_relaxed
inlineconstexpr

Definition at line 71 of file atomic_base.h.

◆ memory_order_release

constexpr memory_order std::memory_order_release
inlineconstexpr

Definition at line 74 of file atomic_base.h.

◆ memory_order_seq_cst

constexpr memory_order std::memory_order_seq_cst
inlineconstexpr

Definition at line 76 of file atomic_base.h.