![]() |
Qt 4.8
|
#include <qthread_p.h>
Classes | |
| class | FlaggedDebugSignatures |
Public Functions | |
| bool | canWaitLocked () |
| void | deref () |
| QThreadData (int initialRefCount=1) | |
| void | ref () |
| ~QThreadData () | |
Static Public Functions | |
| static void | clearCurrentThreadData () |
| static QThreadData * | current () |
| static QThreadData * | get2 (QThread *thread) |
Public Variables | |
| bool | canWait |
| QAbstractEventDispatcher * | eventDispatcher |
| QStack< QEventLoop * > | eventLoops |
| FlaggedDebugSignatures | flaggedSignatures |
| bool | isAdopted |
| int | loopLevel |
| QPostEventList | postEventList |
| bool | quitNow |
| QThread * | thread |
| Qt::HANDLE | threadId |
| QVector< void * > | tls |
Properties | |
| QAtomicInt | _ref |
Definition at line 209 of file qthread_p.h.
| QThreadData::QThreadData | ( | int | initialRefCount = 1 | ) |
| QThreadData::~QThreadData | ( | ) |
Definition at line 86 of file qthread.cpp.
|
inline |
Definition at line 226 of file qthread_p.h.
Referenced by postEventSourcePrepare().
|
static |
|
static |
Definition at line 217 of file qthread_unix.cpp.
Referenced by QThread::currentThread(), QCoreApplication::exec(), extract_location(), QThreadStorageData::get(), QCoreApplication::hasPendingEvents(), QAbstractEventDispatcher::instance(), QObject::moveToThread(), QCoreApplication::postEvent(), postEventSourcePrepare(), QThread::priority(), QCoreApplication::processEvents(), qFlagLocation(), qGlobalPostedEventsCount(), QObject::QObject(), qt_free_tls(), QThreadStorageData::QThreadStorageData(), QCoreApplicationPrivate::removePostedEvent(), QCoreApplication::removePostedEvents(), QCoreApplication::sendPostedEvents(), and QThreadStorageData::set().
| void QThreadData::deref | ( | ) |
Definition at line 125 of file qthread.cpp.
Referenced by QInternal::callFunction(), current(), destroy_current_thread_data(), QObject::moveToThread(), QObject::QObject(), qt_adopted_thread_watcher_function(), qt_free_tls(), QCoreApplicationData::~QCoreApplicationData(), QObjectPrivate::~QObjectPrivate(), and QThreadPrivate::~QThreadPrivate().
|
inlinestatic |
Definition at line 219 of file qthread_p.h.
Referenced by QInternal::callFunction(), current(), QAbstractEventDispatcher::instance(), QObject::moveToThread(), qt_adopted_thread_watcher_function(), qt_free_tls(), QtWndProc(), QThreadPrivate::start(), and QCoreApplicationData::~QCoreApplicationData().
| void QThreadData::ref | ( | ) |
Definition at line 117 of file qthread.cpp.
Referenced by QInternal::callFunction(), QObject::moveToThread(), QObject::QObject(), QObjectPrivate::setThreadData_helper(), and QThreadPrivate::start().
|
private |
Definition at line 211 of file qthread_p.h.
Referenced by deref(), and ~QThreadData().
| bool QThreadData::canWait |
Definition at line 267 of file qthread_p.h.
Referenced by processPostedEvents(), QCoreApplicationPrivate::sendPostedEvents(), and QObjectPrivate::setThreadData_helper().
| QAbstractEventDispatcher* QThreadData::eventDispatcher |
Definition at line 264 of file qthread_p.h.
Referenced by QAbstractSocketPrivate::_q_connectToNextAddress(), QAbstractSocketPrivate::_q_testConnection(), QThreadPrivate::createEventDispatcher(), QObject::event(), QThreadPrivate::finish(), QAbstractSocketPrivate::initSocketLayer(), QAbstractEventDispatcher::instance(), QObject::killTimer(), QCoreApplication::processEvents(), qt_adopted_thread_watcher_function(), qt_create_commandline(), QCoreApplicationPrivate::sendPostedEvents(), QObjectPrivate::setThreadData_helper(), QObject::startTimer(), and QObjectPrivate::~QObjectPrivate().
| QStack<QEventLoop *> QThreadData::eventLoops |
Definition at line 265 of file qthread_p.h.
Referenced by QCoreApplication::exec(), QCoreApplication::exit(), and QCoreApplication::hasPendingEvents().
| FlaggedDebugSignatures QThreadData::flaggedSignatures |
Definition at line 275 of file qthread_p.h.
Referenced by qFlagLocation().
| bool QThreadData::isAdopted |
Definition at line 269 of file qthread_p.h.
Referenced by current(), destroy_current_thread_data(), qt_adopted_thread_watcher_function(), and qt_free_tls().
| int QThreadData::loopLevel |
Definition at line 263 of file qthread_p.h.
Referenced by QCoreApplication::notifyInternal(), QScopedLoopLevelCounter::QScopedLoopLevelCounter(), QCoreApplicationPrivate::sendPostedEvents(), and QScopedLoopLevelCounter::~QScopedLoopLevelCounter().
| QPostEventList QThreadData::postEventList |
Definition at line 266 of file qthread_p.h.
Referenced by QObject::moveToThread(), QCoreApplication::postEvent(), qGlobalPostedEventsCount(), QCoreApplicationPrivate::removePostedEvent(), QCoreApplication::removePostedEvents(), QCoreApplicationPrivate::removePostedTimerEvent(), QCoreApplicationPrivate::sendPostedEvents(), QObjectPrivate::setThreadData_helper(), and ~QThreadData().
| bool QThreadData::quitNow |
Definition at line 262 of file qthread_p.h.
Referenced by QCoreApplication::exec(), QCoreApplication::exit(), qt_adopted_thread_watcher_function(), and QThreadPrivate::start().
| QThread* QThreadData::thread |
Definition at line 260 of file qthread_p.h.
Referenced by check_parent_thread(), current(), QThread::currentThread(), destroy_current_thread_data(), QThreadStorageData::get(), QObject::moveToThread(), QThread::priority(), qt_adopted_thread_watcher_function(), qt_free_tls(), QThreadStorageData::set(), and ~QThreadData().
| Qt::HANDLE QThreadData::threadId |
Definition at line 261 of file qthread_p.h.
Referenced by current(), qt_adopted_thread_watcher_function(), qt_free_tls(), and QThreadPrivate::start().
| QVector<void *> QThreadData::tls |
Definition at line 268 of file qthread_p.h.
Referenced by QThreadPrivate::finish(), QThreadStorageData::get(), QThreadStorageData::QThreadStorageData(), and QThreadStorageData::set().