ThreadWeaver
ThreadWeaver::SuspendedState Class Reference
#include <SuspendedState.h>
Inheritance diagram for ThreadWeaver::SuspendedState:

Detailed Description
In SuspendedState, jobs are queued, but will not be executed.All thread remains blocked.
Definition at line 43 of file 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) |
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: