Home
last modified time | relevance | path

Searched refs:worker_pool_ (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_impl_unittest.cc89 if (worker_pool_) in CommonTearDown()
90 worker_pool_->JoinForTesting(); in CommonTearDown()
94 ASSERT_FALSE(worker_pool_); in CreateWorkerPool()
97 worker_pool_ = std::make_unique<SchedulerWorkerPoolImpl>( in CreateWorkerPool()
100 ASSERT_TRUE(worker_pool_); in CreateWorkerPool()
105 ASSERT_TRUE(worker_pool_); in StartWorkerPool()
106 worker_pool_->Start( in StartWorkerPool()
121 std::unique_ptr<SchedulerWorkerPoolImpl> worker_pool_; member in base::internal::__anon30c1a4bb0111::TaskSchedulerWorkerPoolImplTestBase
171 worker_pool_(worker_pool), in ThreadPostingTasksWaitIdle()
174 DCHECK(worker_pool_); in ThreadPostingTasksWaitIdle()
[all …]
Dscheduler_worker_pool_unittest.cc67 worker_pool_(worker_pool), in ThreadPostingTasks()
72 DCHECK(worker_pool_); in ThreadPostingTasks()
85 SchedulerWorkerPool* const worker_pool_; member in base::internal::__anonaa84deaa0111::ThreadPostingTasks
107 if (worker_pool_) in TearDown()
108 worker_pool_->JoinForTesting(); in TearDown()
112 ASSERT_FALSE(worker_pool_); in CreateWorkerPool()
115 worker_pool_ = std::make_unique<SchedulerWorkerPoolImpl>( in CreateWorkerPool()
121 worker_pool_ = std::make_unique<PlatformNativeWorkerPoolWin>( in CreateWorkerPool()
126 ASSERT_TRUE(worker_pool_); in CreateWorkerPool()
130 ASSERT_TRUE(worker_pool_); in StartWorkerPool()
[all …]
Dscheduler_worker_pool.cc52 : traits_(traits), worker_pool_(worker_pool) { in SchedulerParallelTaskRunner()
53 DCHECK(worker_pool_); in SchedulerParallelTaskRunner()
64 return worker_pool_->PostTaskWithSequence( in PostDelayedTask()
70 return GetCurrentWorkerPool() == worker_pool_; in RunsTasksInCurrentSequence()
77 SchedulerWorkerPool* const worker_pool_; member in base::internal::SchedulerParallelTaskRunner
90 : traits_(traits), worker_pool_(worker_pool) { in SchedulerSequencedTaskRunner()
91 DCHECK(worker_pool_); in SchedulerSequencedTaskRunner()
105 return worker_pool_->PostTaskWithSequence(std::move(task), sequence_); in PostDelayedTask()
126 SchedulerWorkerPool* const worker_pool_; member in base::internal::SchedulerSequencedTaskRunner