|
Foundation
|
State-carrying lambda job for use with ThreadPool. More...
#include <ThreadPool.hpp>
Public Member Functions | |
| ThreadPoolLambdaJob (Lambda &&func) | |
| void | Execute (size_t) noexcept override |
Public Member Functions inherited from Foundation::Core::ThreadPoolJob | |
| virtual | ~ThreadPoolJob ()=default |
Public Attributes | |
| Lambda | mFunc |
| Promise< ReturnType > | mPromise |
State-carrying lambda job for use with ThreadPool.
| Lambda | Type of the lambda function. |
| ReturnType | Return type of the lambda function. |
|
inline |
|
inlineoverridevirtualnoexcept |
Implements Foundation::Core::ThreadPoolJob.
| Lambda Foundation::Core::ThreadPoolLambdaJob< Lambda, ReturnType, Args >::mFunc |
| Promise<ReturnType> Foundation::Core::ThreadPoolLambdaJob< Lambda, ReturnType, Args >::mPromise |