Dispatch Queue
Dispatch Queue / Thread Pool implementation for C++11 with built-in C++20 coroutine support
 
Loading...
Searching...
No Matches
dispatch_queue::detail::task_future_base Class Reference
Inheritance diagram for dispatch_queue::detail::task_future_base:
dispatch_queue::detail::task_future< void > dispatch_queue::detail::task_future< T > dispatch_queue::detail::task_future< void >

Classes

struct  private_construct
 

Public Member Functions

task_state get_state ()
 
std::exception_ptr get_exception ()
 
void set_exception (std::exception_ptr exception)
 
void wait ()
 
template<class Rep, class Period>
bool wait_for (const std::chrono::duration< Rep, Period > &timeout_duration)
 
template<class Clock, class Duration>
bool wait_until (const std::chrono::time_point< Clock, Duration > &timeout_time)
 

Protected Member Functions

 task_future_base (private_construct, task_state state)
 
 task_future_base (private_construct, std::exception_ptr exception)
 
 task_future_base (const task_future_base &)=delete
 
task_future_baseoperator= (const task_future_base &)=delete
 

Protected Attributes

std::mutex mutex
 
std::condition_variable condition_variable
 
std::exception_ptr exception
 
task_state state
 

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