QThreadPool

#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


Overview

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

Properties

int activeThreadCount[read-only]

int expiryTimeout

int maxThreadCount

Public Functions

QThreadPool (

~QThreadPool ()

Destructor.

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