ThreadWeaver
InConstructionState.cpp
Go to the documentation of this file.
virtual void waitForAvailableJob(Thread *th)
Wait (by suspending the calling thread) until a job becomes available.
Definition InConstructionState.cpp:60
virtual Job * applyForWork(Thread *th, Job *previous)
Assign a job to an idle thread.
Definition InConstructionState.cpp:46
A Job is a simple abstraction of an action that is to be executed in a thread context.
Definition Job.h:66
The class Thread is used to represent the worker threads in the weaver's inventory.
Definition Thread.h:47
void blockThreadUntilJobsAreBeingAssigned(Thread *th)
Blocks the calling thread until some actor calls assignJobs.
Definition WeaverImpl.cpp:364
void waitForAvailableJob(Thread *th)
Wait for a job to become available.
Definition WeaverImpl.cpp:359
virtual Job * applyForWork(Thread *thread, Job *previous)
Assign a job to the calling thread.
Definition WeaverImpl.cpp:354
Definition DebuggingAids.h:51
StateId
All weaver objects maintain a state of operation which can be queried by the application.
Definition State.h:48
@ InConstruction
The object is in the state of construction and has not yet started to process jobs.
Definition State.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.