MythTV  master
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MThreadPoolPrivate Class Reference
Collaboration diagram for MThreadPoolPrivate:
Collaboration graph

Public Member Functions

 MThreadPoolPrivate (const QString &name)
int GetRealMaxThread (void)

Public Attributes

QMutex m_lock
QString m_name
QWaitCondition m_wait
bool m_running
int m_expiry_timeout
int m_max_thread_count
int m_reserve_thread
MPoolQueues m_run_queues
QSet< MPoolThread * > m_avail_threads
QSet< MPoolThread * > m_running_threads
QList< MPoolThread * > m_delete_threads

Static Public Attributes

static QMutex s_pool_lock
static MThreadPools_pool = nullptr
static QList< MThreadPool * > s_all_pools

Detailed Description

Definition at line 213 of file mthreadpool.cpp.

Constructor & Destructor Documentation

◆ MThreadPoolPrivate()

MThreadPoolPrivate::MThreadPoolPrivate ( const QString &  name)

Definition at line 216 of file mthreadpool.cpp.

Member Function Documentation

◆ GetRealMaxThread()

int MThreadPoolPrivate::GetRealMaxThread ( void  )

Definition at line 225 of file mthreadpool.cpp.

Referenced by MThreadPool::TryStartInternal().

Member Data Documentation

◆ m_lock

QMutex MThreadPoolPrivate::m_lock

◆ m_name

QString MThreadPoolPrivate::m_name

Definition at line 231 of file mthreadpool.cpp.

◆ m_wait

QWaitCondition MThreadPoolPrivate::m_wait

◆ m_running

bool MThreadPoolPrivate::m_running

◆ m_expiry_timeout

int MThreadPoolPrivate::m_expiry_timeout

◆ m_max_thread_count

int MThreadPoolPrivate::m_max_thread_count

◆ m_reserve_thread

int MThreadPoolPrivate::m_reserve_thread

Definition at line 236 of file mthreadpool.cpp.

Referenced by MThreadPool::ReleaseThread(), and MThreadPool::TryStartInternal().

◆ m_run_queues

MPoolQueues MThreadPoolPrivate::m_run_queues

◆ m_avail_threads

QSet<MPoolThread*> MThreadPoolPrivate::m_avail_threads

◆ m_running_threads

QSet<MPoolThread*> MThreadPoolPrivate::m_running_threads

◆ m_delete_threads

QList<MPoolThread*> MThreadPoolPrivate::m_delete_threads

◆ s_pool_lock

QMutex MThreadPoolPrivate::s_pool_lock

◆ s_pool

MThreadPool * MThreadPoolPrivate::s_pool = nullptr

Definition at line 244 of file mthreadpool.cpp.

Referenced by MThreadPool::globalInstance().

◆ s_all_pools

QList< MThreadPool * > MThreadPoolPrivate::s_all_pools

The documentation for this class was generated from the following file: