ThreadWeaver
InConstructionState.h
Go to the documentation of this file.
virtual Job * applyForWork(Thread *th, Job *previous)
Assign a job to an idle thread.
Definition: InConstructionState.cpp:46
The class Thread is used to represent the worker threads in the weaver's inventory.
Definition: Thread.h:46
InConstructionState handles the calls to the WeaverImpl object until the constructor has finished...
Definition: InConstructionState.h:45
StateId
All weaver objects maintain a state of operation which can be queried by the application.
Definition: State.h:48
WeaverImpl * weaver()
Definition: StateImplementation.cpp:35
Base class for all ThreadWeaver states.
Definition: StateImplementation.h:43
InConstructionState(WeaverInterface *weaver)
Definition: InConstructionState.h:48
virtual void waitForAvailableJob(Thread *th)
Wait (by suspending the calling thread) until a job becomes available.
Definition: InConstructionState.cpp:60
WeaverInterface provides a common interface for weaver implementations.
Definition: WeaverInterface.h:61
A Job is a simple abstraction of an action that is to be executed in a thread context.
Definition: Job.h:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.