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)
Inherit (privately) to suppress copy/move construction and assignment.
std::vector< std::thread > _threads
void CreateThreads(size_t count, F functor)
void CreateThread(F &&functor)
This file contains definitions of common data structures used in traffic manager.