25 #ifndef QHARFBUZZ_CONFIG_H
26 #define QHARFBUZZ_CONFIG_H
28 #include <QtCore/qatomic.h>
43 static inline void _hb_memory_barrier ()
52 #define HB_ATOMIC_INT_IMPL_INIT(V) (V)
53 #define hb_atomic_int_impl_add(AI, V) reinterpret_cast<QAtomicInt *>(AI)->fetchAndAddOrdered(V)
55 #define hb_atomic_ptr_impl_get(P) makeAtomicPointer(*(P))->loadAcquire()
56 #define hb_atomic_ptr_impl_cmpexch(P,O,N) makeAtomicPointer(*(P))->testAndSetOrdered((O), (N))
The QAtomicInt class provides platform-independent atomic operations on int.
The QAtomicPointer class is a template class that provides platform-independent atomic operations on ...
QAtomicPointer< T > * makeAtomicPointer(T *const &ptr)
GLboolean GLboolean GLboolean GLboolean a
[7]