|
Foundation
|
Job interface for use with ThreadPool. More...
#include <ThreadPool.hpp>
Public Member Functions | |
| virtual | ~ThreadPoolJob ()=default |
| virtual void | Execute (size_t id) noexcept=0 |
Job interface for use with ThreadPool.
Custom implementations of ThreadPoolJob can be constructed in-place with ThreadPool::PushImpl For simple, stateless jobs, consider using ThreadPool::Push with a lambda instead.
|
virtualdefault |
Implemented in Foundation::Async::ThreadPoolLambdaJob< Lambda, ReturnType >.