parallel-cellular-automata
Framework for building parallel cellular automata.
|
RAII class to join threads. More...
#include <threadpool.hpp>
Public Member Functions | |
ThreadJoiner (std::vector< std::thread > &t) | |
Construct a new ThreadJoiner object. More... | |
~ThreadJoiner () | |
Destroy the Thread Joiner object and in doing this join all the threads in the vector. | |
RAII class to join threads.
ThreadJoiner::ThreadJoiner | ( | std::vector< std::thread > & | t | ) |
Construct a new ThreadJoiner object.
t | vector containing the threads to join. |