1 #ifndef AETHER_THREADPOOL_JOB_HPP 2 #define AETHER_THREADPOOL_JOB_HPP 4 #include "Aether/ThreadPool.hpp" 25 virtual void work() = 0;
virtual void work()=0
The work to perform. This must be defined by derived classes to actually perform the work...
bool run()
Runs the job. Does nothing if the job has already been completed.
Base namespace for all Aether related classes and functions.
Job()
Constructs a new default Job object.
Abstract class representing a job for the ThreadPool. It is designed to be inherited to define the jo...
Definition: ThreadPool.Job.hpp:11
~Job()
Destroys the Job object.