ThreadWeaver
SuspendingState.cpp
void blockThreadUntilJobsAreBeingAssigned(Thread *th)
Blocks the calling thread until some actor calls assignJobs.
Definition: WeaverImpl.cpp:364
virtual void waitForAvailableJob(Thread *th)
Wait (by suspending the calling thread) until a job becomes available.
Definition: SuspendingState.cpp:66
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
Definition: DebuggingAids.h:51
void waitForAvailableJob(Thread *th)
Wait for a job to become available.
Definition: WeaverImpl.cpp:359
virtual Job * applyForWork(Thread *th, Job *previous)
Assign a job to an idle thread.
Definition: SuspendingState.cpp:56
A Job is a simple abstraction of an action that is to be executed in a thread context.
Definition: Job.h:65
@ Suspending
Job processing is suspended, but some jobs which where already in progress are not finished yet.
Definition: State.h:56
The class Thread is used to represent the worker threads in the weaver's inventory.
Definition: Thread.h:46
virtual Job * applyForWork(Thread *thread, Job *previous)
Assign a job to the calling thread.
Definition: WeaverImpl.cpp:354
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.