Searched refs:num_threads (Results 1 – 2 of 2) sorted by relevance
29 explicit ThreadPoolImpl(int num_threads) in ThreadPoolImpl() argument32 threads_.reserve(num_threads); in ThreadPoolImpl()33 for (int i = 0; i < num_threads; i++) { in ThreadPoolImpl()90 ThreadPool* NewThreadPool(int num_threads) { in NewThreadPool() argument91 return new ThreadPoolImpl(num_threads); in NewThreadPool()
33 ThreadPool* NewThreadPool(int num_threads);