ThreadWeaver
ResourceRestrictionPolicy.cpp
Go to the documentation of this file.
int cap() const
Definition: ResourceRestrictionPolicy.cpp:67
void setCap(int newCap)
Cap the number of simulataniously executing jobs.
Definition: ResourceRestrictionPolicy.cpp:61
void free(Job *)
free() is called after the job has been executed.
Definition: ResourceRestrictionPolicy.cpp:85
void release(Job *)
release() is called if canRun() returned true, but the job has not been executed for external reasons...
Definition: ResourceRestrictionPolicy.cpp:97
void destructed(Job *)
destructing() is called when a Job that has this queue policy assigned gets destructed.
Definition: ResourceRestrictionPolicy.cpp:102
bool canRun(Job *)
canRun() is called before the job is executed.
Definition: ResourceRestrictionPolicy.cpp:73
void debug(int severity, const char *cformat,...)
This method prints a text message on the screen, if debugging is enabled.
Definition: DebuggingAids.h:112
ResourceRestrictionPolicy(int cap=0)
Definition: ResourceRestrictionPolicy.cpp:50
QueuePolicy is an interface for customizations of the queueing behaviour of sets of jobs...
Definition: QueuePolicy.h:59
~ResourceRestrictionPolicy()
Definition: ResourceRestrictionPolicy.cpp:56
A Job is a simple abstraction of an action that is to be executed in a thread context.
Definition: Job.h:65
Definition: DependencyPolicy.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.