ThreadWeaver
#include <SuspendedState.h>
Public Member Functions | |
SuspendedState (WeaverImpl *weaver) | |
virtual Job * | applyForWork (Thread *th, Job *previous) |
virtual void | resume () |
StateId | stateId () const |
virtual void | suspend () |
virtual void | waitForAvailableJob (Thread *th) |
Public Member Functions inherited from ThreadWeaver::StateImplementation | |
StateImplementation (WeaverInterface *weaver) | |
Public Member Functions inherited from ThreadWeaver::State | |
State (WeaverInterface *weaver) | |
virtual | ~State () |
virtual void | activated () |
QString | stateName () const |
Additional Inherited Members | |
Protected Member Functions inherited from ThreadWeaver::StateImplementation | |
WeaverImpl * | weaver () |
Protected Member Functions inherited from ThreadWeaver::State | |
WeaverInterface * | weaver () |
Protected Attributes inherited from ThreadWeaver::State | |
Private *const | d |
Detailed Description
In SuspendedState, jobs are queued, but will not be executed.
All thread remains blocked.
Definition at line 43 of file SuspendedState.h.
Constructor & Destructor Documentation
|
inlineexplicit |
Definition at line 46 of file SuspendedState.h.
Member Function Documentation
Assign a job to an idle thread.
Implements ThreadWeaver::State.
Definition at line 46 of file SuspendedState.cpp.
|
virtual |
Resume job processing.
Implements ThreadWeaver::State.
Definition at line 41 of file SuspendedState.cpp.
|
virtual |
|
virtual |
Suspend job processing.
Implements ThreadWeaver::State.
Definition at line 36 of file SuspendedState.cpp.
|
virtual |
Wait (by suspending the calling thread) until a job becomes available.
Implements ThreadWeaver::State.
Definition at line 52 of file SuspendedState.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.