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

Unified Diff: base/task_scheduler/scheduler_worker_pool_params.cc

Issue 2501763002: Add Thread Standby Policy SchedulerWorkerPoolImpl (Closed)
Patch Set: Rebase to edc7bea Created 4 years, 1 month 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
Index: base/task_scheduler/scheduler_worker_pool_params.cc
diff --git a/base/task_scheduler/scheduler_worker_pool_params.cc b/base/task_scheduler/scheduler_worker_pool_params.cc
index d820460e91dace499c3e7ad9162a44b67faaa3a8..dbc02f58261c65bf31113c8627ae5c506f5ab718 100644
--- a/base/task_scheduler/scheduler_worker_pool_params.cc
+++ b/base/task_scheduler/scheduler_worker_pool_params.cc
@@ -12,11 +12,13 @@ SchedulerWorkerPoolParams::SchedulerWorkerPoolParams(
const std::string& name,
ThreadPriority priority_hint,
IORestriction io_restriction,
+ StandbyThreadPolicy standby_thread_policy,
int max_threads,
const TimeDelta& suggested_reclaim_time)
: name_(name),
priority_hint_(priority_hint),
io_restriction_(io_restriction),
+ standby_thread_policy_(standby_thread_policy),
max_threads_(max_threads),
suggested_reclaim_time_(suggested_reclaim_time) {}
« no previous file with comments | « base/task_scheduler/scheduler_worker_pool_params.h ('k') | base/task_scheduler/task_scheduler_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698