Struct thread_group

Struct Documentation

struct thread_group

A workaround of boost::thread_group.

Public Functions

thread_group() = default
thread_group(const thread_group&) = delete
thread_group &operator=(const thread_group&) = delete
thread_group(thread_group&&) = delete
template<class ...Args>
inline void create_thread(Args&&... args)
inline void add_thread(std::thread &&t)
inline std::size_t size() const
inline void join_all()

Public Members

std::vector<std::thread> tg