Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
wmtk::threading::task_group Class Reference

Public Member Functions

 task_group (const task_group &)=delete
 
task_groupoperator= (const task_group &)=delete
 
template<typename F >
void run (F &&f)
 
void wait ()
 

Private Attributes

std::vector< std::thread > m_threads
 
std::exception_ptr m_eptr
 
std::mutex m_eptr_mutex
 

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