ThreadWeaver
ThreadWeaver::DestructedState Class Reference
DestructedState is only active after the thread have been destroyed by the destructor, but before superclass destructors have finished. More...
#include <DestructedState.h>

Public Member Functions | |
virtual Job * | applyForWork (Thread *th, Job *previous) |
DestructedState (WeaverInterface *weaver) | |
virtual void | resume () |
StateId | stateId () const |
virtual void | suspend () |
virtual void | waitForAvailableJob (Thread *th) |
Detailed Description
DestructedState is only active after the thread have been destroyed by the destructor, but before superclass destructors have finished.
Definition at line 43 of file DestructedState.h.
Constructor & Destructor Documentation
ThreadWeaver::DestructedState::DestructedState | ( | WeaverInterface * | weaver | ) | [inline, explicit] |
Definition at line 46 of file DestructedState.h.
Member Function Documentation
Assign a job to an idle thread.
Implements ThreadWeaver::State.
Definition at line 41 of file DestructedState.cpp.
void DestructedState::resume | ( | ) | [virtual] |
Resume job processing.
Implements ThreadWeaver::State.
Definition at line 37 of file DestructedState.cpp.
StateId DestructedState::stateId | ( | ) | const [virtual] |
void DestructedState::suspend | ( | ) | [virtual] |
Suspend job processing.
Implements ThreadWeaver::State.
Definition at line 33 of file DestructedState.cpp.
void DestructedState::waitForAvailableJob | ( | Thread * | th | ) | [virtual] |
Wait (by suspending the calling thread) until a job becomes available.
Implements ThreadWeaver::State.
Definition at line 46 of file DestructedState.cpp.
The documentation for this class was generated from the following files: