Home
last modified time | relevance | path

Searched refs:idle_workers_stack_ (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_impl.cc246 idle_workers_stack_.Push(worker); in Start()
356 return idle_workers_stack_.Size(); in NumberOfIdleWorkersForTesting()
436 outer_->idle_workers_stack_.Peek() == worker || in GetWork()
439 outer_->idle_workers_stack_.Contains(worker)); in GetWork()
451 outer_->idle_workers_stack_.Size()) { in GetWork()
499 DCHECK(!outer_->idle_workers_stack_.Contains(worker)); in GetWork()
632 DCHECK(!outer_->idle_workers_stack_.Contains(worker)); in OnMainExit()
790 while (idle_workers_stack_.Size() < n) in WaitForWorkersIdleLockRequiredForTesting()
807 if (NumberOfExcessWorkersLockRequired() < idle_workers_stack_.Size()) { in WakeUpOneWorkerLockRequired()
808 SchedulerWorker* worker = idle_workers_stack_.Pop(); in WakeUpOneWorkerLockRequired()
[all …]
Dscheduler_worker_pool_impl.h282 SchedulerWorkerStack idle_workers_stack_; variable