42 #ifndef QMUTEXPOOL_P_H 43 #define QMUTEXPOOL_P_H 56 #include "QtCore/qatomic.h" 57 #include "QtCore/qmutex.h" 58 #include "QtCore/qvarlengtharray.h" 70 inline QMutex *
get(
const void *address) {
76 return createMutex(index);
79 static QMutex *globalInstanceGet(
const void *address);
91 #endif // QT_NO_THREAD 93 #endif // QMUTEXPOOL_P_H QIntegerForSizeof< void * >::Unsigned quintptr
#define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
QMutex::RecursionMode recursionMode
Q_CORE_EXPORT QMutexPool * qt_global_mutexpool
#define QT_BEGIN_NAMESPACE
This macro expands to.
QVarLengthArray< QAtomicPointer< QMutex >, 131 > mutexes
The QMutexPool class provides a pool of QMutex objects.