libfilezilla
Public Member Functions | Friends | List of all members
async_task Class Referencefinal

Handle for asynchronous tasks. More...

#include <thread_pool.hpp>

Public Member Functions

 async_task (async_task const &)=delete
 
async_taskoperator= (async_task const &)=delete
 
 async_task (async_task &&other) noexcept
 
async_taskoperator= (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
 

Detailed Description

Handle for asynchronous tasks.


The documentation for this class was generated from the following file: