QtBase  v6.3.1
Namespaces | Macros | Typedefs | Functions
config.h File Reference
#include <QtCore/qatomic.h>
Include dependency graph for config.h:

Go to the source code of this file.

Namespaces

 QT_USE_NAMESPACE
 

Macros

#define HB_ATOMIC_INT_IMPL_INIT(V)   (V)
 
#define hb_atomic_int_impl_add(AI, V)   reinterpret_cast<QAtomicInt *>(AI)->fetchAndAddOrdered(V)
 
#define hb_atomic_ptr_impl_get(P)   makeAtomicPointer(*(P))->loadAcquire()
 
#define hb_atomic_ptr_impl_cmpexch(P, O, N)   makeAtomicPointer(*(P))->testAndSetOrdered((O), (N))
 

Typedefs

typedef int hb_atomic_int_impl_t
 

Functions

template<typename T >
QAtomicPointer< T > * QT_USE_NAMESPACE::makeAtomicPointer (T *const &ptr)
 

Macro Definition Documentation

◆ hb_atomic_int_impl_add

#define hb_atomic_int_impl_add (   AI,
  V 
)    reinterpret_cast<QAtomicInt *>(AI)->fetchAndAddOrdered(V)

Definition at line 53 of file config.h.

◆ HB_ATOMIC_INT_IMPL_INIT

#define HB_ATOMIC_INT_IMPL_INIT (   V)    (V)

Definition at line 52 of file config.h.

◆ hb_atomic_ptr_impl_cmpexch

#define hb_atomic_ptr_impl_cmpexch (   P,
  O,
 
)    makeAtomicPointer(*(P))->testAndSetOrdered((O), (N))

Definition at line 56 of file config.h.

◆ hb_atomic_ptr_impl_get

#define hb_atomic_ptr_impl_get (   P)    makeAtomicPointer(*(P))->loadAcquire()

Definition at line 55 of file config.h.

Typedef Documentation

◆ hb_atomic_int_impl_t

typedef int hb_atomic_int_impl_t

Definition at line 51 of file config.h.