14#include "jobpointer.h"
15#include "threadweaver_export.h"
54 virtual void free(JobPointer) = 0;
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.