20#include <private/qglobal_p.h>
27#ifdef QATOMICWAIT_USE_FALLBACK
28# define Q_ATOMICWAIT_EXPORT
30# define Q_ATOMICWAIT_EXPORT Q_CORE_EXPORT
36#undef Q_ATOMICWAIT_EXPORT
70#ifdef __cpp_lib_atomic_wait
constexpr bool futexAvailable()
Q_ATOMICWAIT_EXPORT void _q_atomicWake(void *address, WakeMode) noexcept
Q_ATOMICWAIT_EXPORT void _q_atomicWait(const void *address, const void *old, qsizetype size) noexcept
static bool isEqual(const void *address, const void *old)
static bool isEqual(const void *address, const void *old, qsizetype size) noexcept
static void checkFutexUse()
static QAtomicWaitLocks & atomicLocks() noexcept
#define Q_ATOMICWAIT_EXPORT
const void * watchedAddress
std::condition_variable cond
int indexFor(const void *ptr)
std::array< Lock, LockCount > locks
static void * contendedWatchAddress()
static constexpr int LockCount
Lock & lockFor(const void *ptr)