Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qthread_p.h>
Public Member Functions | |
QThreadData (int initialRefCount=1) | |
~QThreadData () | |
void | ref () |
void | deref () |
bool | hasEventDispatcher () const |
QAbstractEventDispatcher * | createEventDispatcher () |
QAbstractEventDispatcher * | ensureEventDispatcher () |
bool | canWaitLocked () |
Static Public Member Functions | |
static Q_AUTOTEST_EXPORT QThreadData * | current (bool createIfNecessary=true) |
static void | clearCurrentThreadData () |
static QThreadData * | get2 (QThread *thread) |
Public Attributes | |
int | loopLevel |
int | scopeLevel |
QStack< QEventLoop * > | eventLoops |
QPostEventList | postEventList |
QAtomicPointer< QThread > | thread |
QAtomicPointer< void > | threadId |
QAtomicPointer< QAbstractEventDispatcher > | eventDispatcher |
QList< void * > | tls |
bool | quitNow |
bool | canWait |
bool | isAdopted |
bool | requiresCoreApplication |
Definition at line 302 of file qthread_p.h.
QThreadData::QThreadData | ( | int | initialRefCount = 1 | ) |
Definition at line 43 of file qthread.cpp.
References QThreadData(), canWait, isAdopted, loopLevel, quitNow, requiresCoreApplication, and scopeLevel.
Referenced by QThreadData().
QThreadData::~QThreadData | ( | ) |
Definition at line 51 of file qthread.cpp.
References clearCurrentThreadData().
|
inline |
Definition at line 327 of file qthread_p.h.
References canWait.
|
static |
Definition at line 1135 of file qthread.cpp.
Referenced by ~QThreadData().
QAbstractEventDispatcher * QThreadData::createEventDispatcher | ( | ) |
Definition at line 108 of file qthread.cpp.
References QThreadPrivate::createEventDispatcher().
Referenced by ensureEventDispatcher().
|
static |
Definition at line 1117 of file qthread.cpp.
void QThreadData::deref | ( | ) |
Definition at line 100 of file qthread.cpp.
|
inline |
Definition at line 319 of file qthread_p.h.
References createEventDispatcher().
|
inlinestatic |
Definition at line 310 of file qthread_p.h.
|
inline |
Definition at line 316 of file qthread_p.h.
void QThreadData::ref | ( | ) |
Definition at line 92 of file qthread.cpp.
bool QThreadData::canWait |
Definition at line 348 of file qthread_p.h.
Referenced by QThreadData(), and canWaitLocked().
QAtomicPointer<QAbstractEventDispatcher> QThreadData::eventDispatcher |
Definition at line 344 of file qthread_p.h.
QStack<QEventLoop *> QThreadData::eventLoops |
Definition at line 340 of file qthread_p.h.
bool QThreadData::isAdopted |
Definition at line 349 of file qthread_p.h.
Referenced by QThreadData().
int QThreadData::loopLevel |
Definition at line 337 of file qthread_p.h.
Referenced by QThreadData().
QPostEventList QThreadData::postEventList |
Definition at line 341 of file qthread_p.h.
bool QThreadData::quitNow |
Definition at line 347 of file qthread_p.h.
Referenced by QThreadData().
bool QThreadData::requiresCoreApplication |
Definition at line 350 of file qthread_p.h.
Referenced by QThreadData().
int QThreadData::scopeLevel |
Definition at line 338 of file qthread_p.h.
Referenced by QScopedScopeLevelCounter::QScopedScopeLevelCounter(), QThreadData(), and QScopedScopeLevelCounter::~QScopedScopeLevelCounter().
QAtomicPointer<QThread> QThreadData::thread |
Definition at line 342 of file qthread_p.h.
QAtomicPointer<void> QThreadData::threadId |
Definition at line 343 of file qthread_p.h.
Definition at line 345 of file qthread_p.h.