Dispatch Queue
Dispatch Queue / Thread Pool implementation for C++11 with built-in C++20 coroutine support
 
Loading...
Searching...
No Matches
dispatch_queue::detail::when_any_helper Struct Reference

#include <when_any.hpp>

Public Member Functions

template<typename T>
void operator() (const task< T > &task) const
 

Public Attributes

std::shared_ptr< std::atomic< bool > > result_set = std::make_shared<std::atomic<bool>>(false)
 
std::shared_ptr< detail::task_future< void > > future = detail::task_future<void>::create_pending()
 

Member Function Documentation

◆ operator()()

template<typename T>
void dispatch_queue::detail::when_any_helper::operator() ( const task< T > & task) const
inline

Member Data Documentation

◆ future

std::shared_ptr<detail::task_future<void> > dispatch_queue::detail::when_any_helper::future = detail::task_future<void>::create_pending()

◆ result_set

std::shared_ptr<std::atomic<bool> > dispatch_queue::detail::when_any_helper::result_set = std::make_shared<std::atomic<bool>>(false)

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