Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qplatformdefs.h"
#include "qreadwritelock.h"
#include "qthread.h"
#include "qreadwritelock_p.h"
#include "private/qfreelist_p.h"
#include "private/qlocking_p.h"
#include <algorithm>
Go to the source code of this file.
Functions | |
static bool | contendedTryLockForRead (QAtomicPointer< QReadWriteLockPrivate > &d_ptr, QDeadlineTimer timeout, QReadWriteLockPrivate *d) |
static bool | contendedTryLockForWrite (QAtomicPointer< QReadWriteLockPrivate > &d_ptr, QDeadlineTimer timeout, QReadWriteLockPrivate *d) |
static auto | handleEquals (Qt::HANDLE handle) |
|
static |
Definition at line 193 of file qreadwritelock.cpp.
References QReadWriteLockPrivate::allocate(), d, lock, Q_ASSERT, Q_ASSERT_X, QReadWriteLockStates::StateLockedForRead, and QReadWriteLockStates::StateMask.
|
static |
Definition at line 308 of file qreadwritelock.cpp.
References QReadWriteLockPrivate::allocate(), d, lock, and Q_ASSERT.
|
static |
Definition at line 472 of file qreadwritelock.cpp.
Referenced by QReadWriteLockPrivate::recursiveLockForRead(), and QReadWriteLockPrivate::recursiveUnlock().