ThreadWeaver
ThreadWeaver::SuspendedState Class Reference
In SuspendedState, jobs are queued, but will not be executed. More...
#include <SuspendedState.h>
Public Member Functions | |
| virtual Job * | applyForWork (Thread *th, Job *previous) |
| virtual void | resume () |
| StateId | stateId () const |
| virtual void | suspend () |
| SuspendedState (WeaverImpl *weaver) | |
| virtual void | waitForAvailableJob (Thread *th) |
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
| ThreadWeaver::SuspendedState::SuspendedState | ( | WeaverImpl * | weaver | ) | [inline, explicit] |
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.
| void SuspendedState::resume | ( | ) | [virtual] |
Resume job processing.
Implements ThreadWeaver::State.
Definition at line 41 of file SuspendedState.cpp.
| StateId SuspendedState::stateId | ( | ) | const [virtual] |
| void SuspendedState::suspend | ( | ) | [virtual] |
Suspend job processing.
Implements ThreadWeaver::State.
Definition at line 36 of file SuspendedState.cpp.
| void SuspendedState::waitForAvailableJob | ( | Thread * | th | ) | [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:
KDE 4.3 API Reference