Skip to content

moodycamel::weak_atomic

More...

#include <atomicops.h>

Public Functions

Name
AE_NO_TSAN weak_atomic()
template <typename U >
AE_NO_TSAN
weak_atomic(U && x)
AE_NO_TSAN weak_atomic(weak_atomic const & other)
AE_NO_TSAN weak_atomic(weak_atomic && other)
AE_FORCEINLINE operator T() const
template <typename U >
AE_FORCEINLINEweak_atomic const &
operator=(U && x)
AE_FORCEINLINEweak_atomic const & operator=(weak_atomic const & other)
AE_FORCEINLINE T load() const
AE_FORCEINLINE T fetch_add_acquire(T increment)
AE_FORCEINLINE T fetch_add_release(T increment)

Detailed Description

1
2
template <typename T >
class moodycamel::weak_atomic;

Public Functions Documentation

function weak_atomic

1
inline AE_NO_TSAN weak_atomic()

function weak_atomic

1
2
3
4
template <typename U >
inline AE_NO_TSAN weak_atomic(
    U && x
)

function weak_atomic

1
2
3
inline AE_NO_TSAN weak_atomic(
    weak_atomic const & other
)

function weak_atomic

1
2
3
inline AE_NO_TSAN weak_atomic(
    weak_atomic && other
)

function operator T

1
inline AE_FORCEINLINE operator T() const

function operator=

1
2
3
4
template <typename U >
inline AE_FORCEINLINEweak_atomic const  & operator=(
    U && x
)

function operator=

1
2
3
inline AE_FORCEINLINEweak_atomic const  & operator=(
    weak_atomic const & other
)

function load

1
inline AE_FORCEINLINE T load() const

function fetch_add_acquire

1
2
3
inline AE_FORCEINLINE T fetch_add_acquire(
    T increment
)

function fetch_add_release

1
2
3
inline AE_FORCEINLINE T fetch_add_release(
    T increment
)

Updated on 2023-07-03 at 11:01:59 +0000