Lines Matching defs:ThreadPool
18 ThreadPool::ThreadPool(int num_threads)
45 ThreadPool::~ThreadPool() {
56 void ThreadPool::Setup(int counter, WorkFunction work, void *data) {
64 int ThreadPool::DecCounter() {
71 void ThreadPool::PostExitAndJoinAll() {
82 void ThreadPool::WorkLoop() {
100 void* ThreadPool::WorkerThreadEntry(void* thiz) {
101 static_cast<ThreadPool*>(thiz)->WorkLoop();
107 void ThreadPool::DispatchMany(int num_tasks, WorkFunction work, void* data) {
124 void ThreadPool::DispatchHere(int num_tasks, WorkFunction work, void* data) {
132 void ThreadPool::Dispatch(int num_tasks, WorkFunction work, void* data) {