Struct thread_group
Defined in File io_context.hpp
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
-
inline void add_thread(std::thread &&t)
-
inline std::size_t size() const
-
inline void join_all()
Public Members
-
std::vector<std::thread> tg
-
thread_group() = default