A callback class used when you need to select which ThreadPoolJob objects are suitable for some kind of operation.
More...
A callback class used when you need to select which ThreadPoolJob objects are suitable for some kind of operation.
- See also
- ThreadPool::removeAllJobs
◆ ~JobSelector()
virtual ThreadPool::JobSelector::~JobSelector |
( |
| ) |
|
|
virtualdefault |
◆ isJobSuitable()
Should return true if the specified thread matches your criteria for whatever operation that this object is being used for.
Any implementation of this method must be extremely fast and thread-safe!