Definition at line 58 of file qthreadpool.h.
#include <qthreadpool.h>

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 |
| QThreadPool | ( | QObject * | parent = 0 |
) |
| ~QThreadPool | ( | ) |
| 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 | ( | ) |
friend class QFutureInterfaceBase
[friend] |
Definition at line 65 of file qthreadpool.h.
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.