libstdc++
atomic File Reference

Go to the source code of this file.

Classes

struct  std::atomic< _Tp >
 
struct  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 >
 

Namespaces

 std
 

Macros

#define _GLIBCXX_ATOMIC
 

Typedefs

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
 

Functions

template<typename _ITp >
bool std::atomic_compare_exchange_strong (atomic< _ITp > *__a, _ITp *__i1, _ITp __i2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_strong (volatile atomic< _ITp > *__a, _ITp *__i1, _ITp __i2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_strong_explicit (atomic< _ITp > *__a, _ITp *__i1, _ITp __i2, memory_order __m1, memory_order __m2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_strong_explicit (volatile atomic< _ITp > *__a, _ITp *__i1, _ITp __i2, memory_order __m1, memory_order __m2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_weak (atomic< _ITp > *__a, _ITp *__i1, _ITp __i2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_weak (volatile atomic< _ITp > *__a, _ITp *__i1, _ITp __i2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_weak_explicit (atomic< _ITp > *__a, _ITp *__i1, _ITp __i2, memory_order __m1, memory_order __m2) noexcept
 
template<typename _ITp >
bool std::atomic_compare_exchange_weak_explicit (volatile atomic< _ITp > *__a, _ITp *__i1, _ITp __i2, memory_order __m1, memory_order __m2) noexcept
 
template<typename _ITp >
_ITp std::atomic_exchange (atomic< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_exchange (volatile atomic< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_exchange_explicit (atomic< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_exchange_explicit (volatile atomic< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_add (__atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_add (volatile __atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp * std::atomic_fetch_add (volatile atomic< _ITp *> *__a, ptrdiff_t __d) noexcept
 
template<typename _ITp >
_ITp * std::atomic_fetch_add (atomic< _ITp *> *__a, ptrdiff_t __d) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_add_explicit (__atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_add_explicit (volatile __atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp * std::atomic_fetch_add_explicit (atomic< _ITp *> *__a, ptrdiff_t __d, memory_order __m) noexcept
 
template<typename _ITp >
_ITp * std::atomic_fetch_add_explicit (volatile atomic< _ITp *> *__a, ptrdiff_t __d, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_and (__atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_and (volatile __atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_and_explicit (__atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_and_explicit (volatile __atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_or (__atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_or (volatile __atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_or_explicit (__atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_or_explicit (volatile __atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_sub (__atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_sub (volatile __atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp * std::atomic_fetch_sub (volatile atomic< _ITp *> *__a, ptrdiff_t __d) noexcept
 
template<typename _ITp >
_ITp * std::atomic_fetch_sub (atomic< _ITp *> *__a, ptrdiff_t __d) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_sub_explicit (__atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_sub_explicit (volatile __atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp * std::atomic_fetch_sub_explicit (volatile atomic< _ITp *> *__a, ptrdiff_t __d, memory_order __m) noexcept
 
template<typename _ITp >
_ITp * std::atomic_fetch_sub_explicit (atomic< _ITp *> *__a, ptrdiff_t __d, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_xor (__atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_xor (volatile __atomic_base< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_xor_explicit (__atomic_base< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
_ITp std::atomic_fetch_xor_explicit (volatile __atomic_base< _ITp > *__a, _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
 
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
 
template<typename _ITp >
void std::atomic_init (atomic< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
void std::atomic_init (volatile atomic< _ITp > *__a, _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 _ITp >
void std::atomic_store (atomic< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
void std::atomic_store (volatile atomic< _ITp > *__a, _ITp __i) noexcept
 
template<typename _ITp >
void std::atomic_store_explicit (atomic< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 
template<typename _ITp >
void std::atomic_store_explicit (volatile atomic< _ITp > *__a, _ITp __i, memory_order __m) noexcept
 

Detailed Description

This is a Standard C++ Library header.

Definition in file atomic.