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

Public Member Functions | |
void | activated () |
virtual Job * | applyForWork (Thread *th, Job *previous) |
virtual void | resume () |
StateId | stateId () const |
virtual void | suspend () |
virtual void | waitForAvailableJob (Thread *th) |
WorkingHardState (WeaverImpl *weaver) |
Detailed Description
Definition at line 43 of file WorkingHardState.h.
Constructor & Destructor Documentation
ThreadWeaver::WorkingHardState::WorkingHardState | ( | WeaverImpl * | weaver | ) | [inline, explicit] |
Definition at line 46 of file WorkingHardState.h.
Member Function Documentation
void WorkingHardState::activated | ( | ) | [virtual] |
Overload.
Reimplemented from ThreadWeaver::State.
Definition at line 42 of file WorkingHardState.cpp.
Assign a job to an idle thread.
Implements ThreadWeaver::State.
Definition at line 56 of file WorkingHardState.cpp.
void WorkingHardState::resume | ( | ) | [virtual] |
Resume job processing.
Implements ThreadWeaver::State.
Definition at line 52 of file WorkingHardState.cpp.
StateId WorkingHardState::stateId | ( | ) | const [virtual] |
void WorkingHardState::suspend | ( | ) | [virtual] |
Suspend job processing.
Implements ThreadWeaver::State.
Definition at line 47 of file WorkingHardState.cpp.
void WorkingHardState::waitForAvailableJob | ( | Thread * | th | ) | [virtual] |
Wait (by suspending the calling thread) until a job becomes available.
Implements ThreadWeaver::State.
Definition at line 78 of file WorkingHardState.cpp.
The documentation for this class was generated from the following files: