IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
Utils::ThreadGroup Class Reference

#include <ThreadPool.h>

Public Member Functions

 ThreadGroup (ThreadPool &pool)
 
template<class F , class... Args>
void add_task (F &&f, Args &&... args)
 
void wait_all ()
 

Constructor & Destructor Documentation

◆ ThreadGroup()

Utils::ThreadGroup::ThreadGroup ( ThreadPool pool)
inline

Member Function Documentation

◆ add_task()

template<class F , class... Args>
void Utils::ThreadGroup::add_task ( F &&  f,
Args &&...  args 
)
inline

◆ wait_all()

void Utils::ThreadGroup::wait_all ( )
inline

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