ThreadWeaver
weaver.h
31 * It extends the API of Queue, hiding methods that need to be public to implement state handling, but
69 JobPointer takeFirstAvailableJobOrSuspendOrWait(Thread *th, bool threadWasBusy, bool suspendIfAllThreadsInactive, bool justReturning);
Lambda is a template that takes any type on which operator() is available, and executes it in run().
Definition lambda.h:20
We use a State pattern to handle the system state in ThreadWeaver.
Definition state.h:56
SuspendingState is the state after suspend() has been called, but before all threads finished executi...
Definition suspendingstate.h:23
void threadSuspended(ThreadWeaver::Thread *)
A thread has been suspended.
void threadStarted(ThreadWeaver::Thread *)
A Thread has been created.
void suspend()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.