![]() |
libfilezilla
|
Handle for asynchronous tasks. More...
#include <thread_pool.hpp>
Public Member Functions | |
async_task (async_task const &)=delete | |
async_task & | operator= (async_task const &)=delete |
async_task (async_task &&other) noexcept | |
async_task & | operator= (async_task &&other) noexcept |
void | join () |
Wait for the task to finish. | |
operator bool () const | |
Check whether it's a spawned, unjoined task. | |
Friends | |
class | thread_pool |
class | pooled_thread_impl |
Handle for asynchronous tasks.