Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1455)

Unified Diff: base/task_scheduler/task_scheduler_impl.cc

Issue 2806413002: Separate the create and start phases in SchedulerSingleThreadTaskRunnerManager. (Closed)
Patch Set: CR-robliao-45-initial-state-comment Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/task_scheduler/scheduler_worker_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task_scheduler_impl.cc
diff --git a/base/task_scheduler/task_scheduler_impl.cc b/base/task_scheduler/task_scheduler_impl.cc
index 9d0320caf1a247026bc22f7753c78f67f56f55bc..6a2732d2e15cd60a61155c14f0dc5918bbefc369 100644
--- a/base/task_scheduler/task_scheduler_impl.cc
+++ b/base/task_scheduler/task_scheduler_impl.cc
@@ -240,6 +240,7 @@ void TaskSchedulerImpl::Initialize(
MakeUnique<SchedulerSingleThreadTaskRunnerManager>(
worker_pool_params_vector, worker_pool_index_for_traits_callback_,
task_tracker_.get(), delayed_task_manager_.get());
+ single_thread_task_runner_manager_->Start();
// Callback invoked by workers to re-enqueue a sequence in the appropriate
// PriorityQueue.
« no previous file with comments | « base/task_scheduler/scheduler_worker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698