#include <QtCore/QThreadPool>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QThreadPool


Properties Index

Public Functions Index

QThreadPool (QObject *parent=0)
~QThreadPool ()
intactiveThreadCount () const
intexpiryTimeout () const
intmaxThreadCount () const
voidreleaseThread ()
voidreserveThread ()
voidsetExpiryTimeout (int expiryTimeout)
voidsetMaxThreadCount (int maxThreadCount)
voidstart (QRunnable *runnable, int priority=0)
booltryStart (QRunnable *runnable)
voidwaitForDone ()
boolwaitForDone (int msecs)

Static Public Functions Index


int activeThreadCount[read-only]

int expiryTimeout

int maxThreadCount

Public Functions

QThreadPool (

~QThreadPool ()


int activeThreadCount ()

int expiryTimeout ()

int maxThreadCount ()

void releaseThread ()

void reserveThread ()

void setExpiryTimeout (
  • intexpiryTimeout)

void setMaxThreadCount (
  • intmaxThreadCount)

void start (

bool tryStart (

void waitForDone ()

bool waitForDone (
  • intmsecs)

Static Public Functions

QThreadPool * globalInstance ()

Last modified: 2015-07-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus