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_all_helper Struct Reference

#include <when_all.hpp>

Public Member Functions

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

Public Attributes

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

Constructor & Destructor Documentation

◆ when_all_helper()

dispatch_queue::detail::when_all_helper::when_all_helper ( size_t count)
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ any_failed

std::shared_ptr<std::atomic<bool> > dispatch_queue::detail::when_all_helper::any_failed = std::make_shared<std::atomic<bool>>(false)

◆ future

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

◆ result_count

std::shared_ptr<std::atomic<size_t> > dispatch_queue::detail::when_all_helper::result_count

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