ThreadWeaver
resourcerestrictionpolicy.cpp
void setCap(int newCap)
Cap the number of simultaneously executing jobs.
Definition: resourcerestrictionpolicy.cpp:49
void free(JobPointer) override
free() is called after the job has been executed.
Definition: resourcerestrictionpolicy.cpp:73
QueuePolicy is an interface for customizations of the queueing behaviour of jobs.
Definition: queuepolicy.h:38
bool canRun(JobPointer) override
canRun() is called before the job is executed.
Definition: resourcerestrictionpolicy.cpp:61
void release(JobPointer) override
release() is called if canRun() returned true, but the job has not been executed for external reasons...
Definition: resourcerestrictionpolicy.cpp:84
void destructed(JobInterface *job) override
destructing() is called when a Job that has this queue policy assigned gets destructed.
Definition: resourcerestrictionpolicy.cpp:89
ResourceRestrictionPolicy is used to limit the number of concurrent accesses to the same resource.
Definition: resourcerestrictionpolicy.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:07:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:07:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.