Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QT_BEGIN_NAMESPACE::QAtomicWaitLocks Struct Reference
Collaboration diagram for QT_BEGIN_NAMESPACE::QAtomicWaitLocks:

Classes

struct  Lock

Public Member Functions

int indexFor (const void *ptr)
LocklockFor (const void *ptr)
int indexFor (const void *ptr)
LocklockFor (const void *ptr)

Static Public Member Functions

static voidcontendedWatchAddress ()
static voidcontendedWatchAddress ()

Public Attributes

std::array< Lock, LockCount > locks

Static Public Attributes

static constexpr int LockCount = 16

Detailed Description

Definition at line 61 of file qatomicwait.cpp.

Member Function Documentation

◆ contendedWatchAddress() [1/2]

void * QT_BEGIN_NAMESPACE::QAtomicWaitLocks::contendedWatchAddress ( )
inlinestatic

Definition at line 65 of file qatomicwait.cpp.

Referenced by QtPrivate::_q_atomicWait().

Here is the caller graph for this function:

◆ contendedWatchAddress() [2/2]

void * QT_BEGIN_NAMESPACE::QAtomicWaitLocks::contendedWatchAddress ( )
inlinestatic

Definition at line 65 of file qatomicwait.cpp.

◆ indexFor() [1/2]

int QT_BEGIN_NAMESPACE::QAtomicWaitLocks::indexFor ( const void * ptr)
inline

Definition at line 82 of file qatomicwait.cpp.

References LockCount.

◆ indexFor() [2/2]

int QT_BEGIN_NAMESPACE::QAtomicWaitLocks::indexFor ( const void * ptr)
inline

Definition at line 82 of file qatomicwait.cpp.

◆ lockFor() [1/2]

Lock & QT_BEGIN_NAMESPACE::QAtomicWaitLocks::lockFor ( const void * ptr)
inline

Definition at line 97 of file qatomicwait.cpp.

Referenced by QtPrivate::_q_atomicWait(), and QtPrivate::_q_atomicWake().

Here is the caller graph for this function:

◆ lockFor() [2/2]

Lock & QT_BEGIN_NAMESPACE::QAtomicWaitLocks::lockFor ( const void * ptr)
inline

Definition at line 97 of file qatomicwait.cpp.

Member Data Documentation

◆ LockCount

constexpr int QT_BEGIN_NAMESPACE::QAtomicWaitLocks::LockCount = 16
staticconstexpr

Definition at line 79 of file qatomicwait.cpp.

Referenced by indexFor().

◆ locks

std::array< Lock, LockCount > QT_BEGIN_NAMESPACE::QAtomicWaitLocks::locks

Definition at line 80 of file qatomicwait.cpp.


The documentation for this struct was generated from the following file: