![]() |
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 () |
| void | clearEvents () |
| void | reuseBindingStatusForNewNativeThread () |
Static Public Member Functions | |
| static QThreadData * | current () |
| static void | clearCurrentThreadData () |
| static QThreadData * | get2 (QThread *thread) |
Public Attributes | |
| QStack< QEventLoop * > | eventLoops |
| QPostEventList | postEventList |
| QAtomicPointer< QThread > | thread |
| QAtomicPointer< void > | threadId |
| QAtomicPointer< QAbstractEventDispatcher > | eventDispatcher |
| QList< void * > | tls |
| QtPrivate::BindingStatusOrList | m_statusOrPendingObjects = {} |
| int | loopLevel = 0 |
| int | scopeLevel = 0 |
| bool | quitNow = false |
| bool | canWait = true |
| bool | isAdopted = false |
| bool | requiresCoreApplication = true |
Friends | |
| class | QAbstractEventDispatcher |
| class | QBasicTimer |
Definition at line 310 of file qthread_p.h.
|
inline |
Definition at line 313 of file qthread_p.h.
References QThreadData().
Referenced by QThreadData().
| QThreadData::~QThreadData | ( | ) |
Definition at line 46 of file qthread.cpp.
References clearCurrentThreadData(), and clearEvents().
|
inline |
Definition at line 356 of file qthread_p.h.
References canWait.
|
static |
Definition at line 1184 of file qthread.cpp.
Referenced by ~QThreadData().
| void QThreadData::clearEvents | ( | ) |
Definition at line 74 of file qthread.cpp.
Referenced by ~QThreadData().
| QAbstractEventDispatcher * QThreadData::createEventDispatcher | ( | ) |
Definition at line 86 of file qthread.cpp.
References QThreadPrivate::createEventDispatcher().
Referenced by ensureEventDispatcher().
|
inlinestatic |
Definition at line 320 of file qthread_p.h.
|
inline |
Definition at line 343 of file qthread_p.h.
Referenced by QAdoptedThread::QAdoptedThread().
|
inline |
Definition at line 348 of file qthread_p.h.
References createEventDispatcher().
|
inlinestatic |
Definition at line 327 of file qthread_p.h.
|
inline |
Definition at line 345 of file qthread_p.h.
|
inline |
Definition at line 342 of file qthread_p.h.
|
inline |
Definition at line 364 of file qthread_p.h.
|
friend |
Definition at line 393 of file qthread_p.h.
|
friend |
Definition at line 394 of file qthread_p.h.
| bool QThreadData::canWait = true |
Definition at line 388 of file qthread_p.h.
Referenced by canWaitLocked().
| QAtomicPointer<QAbstractEventDispatcher> QThreadData::eventDispatcher |
Definition at line 375 of file qthread_p.h.
| QStack<QEventLoop *> QThreadData::eventLoops |
Definition at line 371 of file qthread_p.h.
| bool QThreadData::isAdopted = false |
Definition at line 389 of file qthread_p.h.
Referenced by QAdoptedThread::QAdoptedThread().
| int QThreadData::loopLevel = 0 |
Definition at line 384 of file qthread_p.h.
| QtPrivate::BindingStatusOrList QThreadData::m_statusOrPendingObjects = {} |
Definition at line 378 of file qthread_p.h.
| QPostEventList QThreadData::postEventList |
Definition at line 372 of file qthread_p.h.
| bool QThreadData::quitNow = false |
Definition at line 387 of file qthread_p.h.
| bool QThreadData::requiresCoreApplication = true |
Definition at line 390 of file qthread_p.h.
| int QThreadData::scopeLevel = 0 |
Definition at line 385 of file qthread_p.h.
Referenced by QScopedScopeLevelCounter::QScopedScopeLevelCounter(), and QScopedScopeLevelCounter::~QScopedScopeLevelCounter().
| QAtomicPointer<QThread> QThreadData::thread |
Definition at line 373 of file qthread_p.h.
| QAtomicPointer<void> QThreadData::threadId |
Definition at line 374 of file qthread_p.h.
Definition at line 376 of file qthread_p.h.