ThreadWeaver
queuepolicy.h
35 * control the way all those jobs are executed. Jobs never assume ownership of their assigned queue
56 /** @brief release() is called if canRun() returned true, but the job has not been executed for external reasons.
Lambda is a template that takes any type on which operator() is available, and executes it in run().
Definition lambda.h:20
QueuePolicy is an interface for customizations of the queueing behaviour of jobs.
Definition queuepolicy.h:39
virtual void destructed(JobInterface *job)=0
destructing() is called when a Job that has this queue policy assigned gets destructed.
virtual void free(JobPointer)=0
free() is called after the job has been executed.
virtual void release(JobPointer)=0
release() is called if canRun() returned true, but the job has not been executed for external reasons...
virtual bool canRun(JobPointer)=0
canRun() is called before the job is executed.
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.