Home | History | Annotate | Download | only in runtime

Lines Matching defs:ThreadPool

28 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name,
68 void ThreadPool::AddTask(Thread* self, Task* task) {
77 ThreadPool::ThreadPool(const char* name, size_t num_threads)
99 void ThreadPool::SetMaxActiveWorkers(size_t threads) {
105 ThreadPool::~ThreadPool() {
119 void ThreadPool::StartWorkers(Thread* self) {
127 void ThreadPool::StopWorkers(Thread* self) {
132 Task* ThreadPool::GetTask(Thread* self) {
164 Task* ThreadPool::TryGetTask(Thread* self) {
169 Task* ThreadPool::TryGetTaskLocked(Thread* self) {
178 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) {
197 size_t ThreadPool::GetTaskCount(Thread* self) {
202 WorkStealingWorker::WorkStealingWorker(ThreadPool* thread_pool, const std::string& name,
278 : ThreadPool(name, 0),