Public Member Functions | Static Public Member Functions | Properties | Friends

QThreadPool Class Reference

Search for all occurrences

Detailed Description

Definition at line 58 of file qthreadpool.h.

#include <qthreadpool.h>

Inheritance diagram for QThreadPool:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  QThreadPool (QObject *parent=0)
  ~QThreadPool ()
void  start (QRunnable *runnable, int priority=0)
bool  tryStart (QRunnable *runnable)
int  expiryTimeout () const
void  setExpiryTimeout (int expiryTimeout)
int  maxThreadCount () const
void  setMaxThreadCount (int maxThreadCount)
int  activeThreadCount () const
void  reserveThread ()
void  releaseThread ()
void  waitForDone ()

Static Public Member Functions

static QThreadPool globalInstance ()

Properties

int  expiryTimeout
int  maxThreadCount
int  activeThreadCount

Friends

class  QFutureInterfaceBase

Constructor & Destructor Documentation

QThreadPool ( QObject parent = 0 )

Member Function Documentation

static QThreadPool* globalInstance ( ) [static]
void start ( QRunnable runnable,
int  priority = 0 
)
bool tryStart ( QRunnable runnable )
int expiryTimeout ( ) const
void setExpiryTimeout ( int  expiryTimeout )
int maxThreadCount ( ) const
void setMaxThreadCount ( int  maxThreadCount )
int activeThreadCount ( ) const
void reserveThread ( )
void releaseThread ( )
void waitForDone ( )

Friends And Related Function Documentation

friend class QFutureInterfaceBase [friend]

Definition at line 65 of file qthreadpool.h.


Property Documentation

int expiryTimeout [read, write]

Definition at line 62 of file qthreadpool.h.

int maxThreadCount [read, write]

Definition at line 63 of file qthreadpool.h.

int activeThreadCount [read]

Definition at line 64 of file qthreadpool.h.


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

QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool
QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool QThreadPool