Searched refs:kMaxTasks (Results 1 – 3 of 3) sorted by relevance
59 static constexpr int kMaxTasks = 7; variable111 TaskState task_state_[kMaxTasks + 1];117 bool is_pending_[kMaxTasks + 1] = {};118 CancelableTaskManager::Id cancelable_id_[kMaxTasks + 1] = {};
670 task_count_ = Max(1, Min(kMaxTasks, (num_cores / 2) - 1)); in ScheduleTasks()674 task_count_ = Max(1, Min(kMaxTasks, num_cores - 1)); in ScheduleTasks()
37 constexpr size_t kMaxTasks = 4; variable39 constexpr size_t kMaxBackgroundTasks = kMaxTasks / 2;136 SchedulerWorkerPoolParams(kMaxTasks, TimeDelta::Max()), in StartWorkerPool()