28 _threads.emplace_back(std::forward<F>(functor));
34 for (
size_t i = 0u; i < count; ++i) {
42 if (thread.joinable()) {
#define DEBUG_ASSERT_NE(lhs, rhs)
void CreateThread(F &&functor)
This file contains definitions of common data structures used in traffic manager. ...
void CreateThreads(size_t count, F functor)
std::vector< std::thread > _threads
Inherit (privately) to suppress copy/move construction and assignment.