|
MythTV
0.26-pre
|
Public Member Functions | |
| MPoolThread (MThreadPool &pool, int timeout) | |
| void | run (void) |
| Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. | |
| bool | SetRunnable (QRunnable *runnable, QString runnableName, bool reserved) |
| void | Shutdown (void) |
Public Attributes | |
| QMutex | m_lock |
| QWaitCondition | m_wait |
| MThreadPool & | m_pool |
| int | m_expiry_timeout |
| bool | m_do_run |
| QString | m_runnable_name |
| bool | m_reserved |
Static Public Attributes | |
| static QMutex | s_lock |
| static uint | s_thread_num = 0 |
Definition at line 49 of file mthreadpool.cpp.
| MPoolThread::MPoolThread | ( | MThreadPool & | pool, |
| int | timeout | ||
| ) | [inline] |
Definition at line 52 of file mthreadpool.cpp.
| void MPoolThread::run | ( | void | ) | [inline, virtual] |
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
Reimplemented from MThread.
Definition at line 61 of file mthreadpool.cpp.
| bool MPoolThread::SetRunnable | ( | QRunnable * | runnable, |
| QString | runnableName, | ||
| bool | reserved | ||
| ) | [inline] |
Definition at line 121 of file mthreadpool.cpp.
Referenced by MThreadPool::NotifyAvailable(), and MThreadPool::TryStartInternal().
| void MPoolThread::Shutdown | ( | void | ) | [inline] |
Definition at line 136 of file mthreadpool.cpp.
Referenced by MThreadPool::NotifyAvailable(), and MThreadPool::TryStartInternal().
| QMutex MPoolThread::m_lock |
Definition at line 143 of file mthreadpool.cpp.
| QWaitCondition MPoolThread::m_wait |
Definition at line 144 of file mthreadpool.cpp.
Definition at line 145 of file mthreadpool.cpp.
Definition at line 146 of file mthreadpool.cpp.
Definition at line 147 of file mthreadpool.cpp.
| QString MPoolThread::m_runnable_name |
Definition at line 148 of file mthreadpool.cpp.
Definition at line 149 of file mthreadpool.cpp.
QMutex MPoolThread::s_lock [static] |
Definition at line 151 of file mthreadpool.cpp.
uint MPoolThread::s_thread_num = 0 [static] |
Definition at line 152 of file mthreadpool.cpp.
1.7.6.1