Home | History | Annotate | Download | only in runtime

Lines Matching defs:ThreadPool

41 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name,
105 void ThreadPool::AddTask(Thread* self, Task* task) {
114 void ThreadPool::RemoveAllTasks(Thread* self) {
119 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers)
144 void ThreadPool::SetMaxActiveWorkers(size_t threads) {
150 ThreadPool::~ThreadPool() {
164 void ThreadPool::StartWorkers(Thread* self) {
172 void ThreadPool::StopWorkers(Thread* self) {
177 Task* ThreadPool::GetTask(Thread* self) {
209 Task* ThreadPool::TryGetTask(Thread* self) {
214 Task* ThreadPool::TryGetTaskLocked() {
223 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) {
243 size_t ThreadPool::GetTaskCount(Thread* self) {
248 void ThreadPool::SetPthreadPriority(int priority) {