commit | 2890d2f2c3311c4703a43f23b0b4c90f64f1e4f8 | [log] [tgz] |
---|---|---|
author | fdoray <fdoray@chromium.org> | Sat Apr 08 09:51:58 2017 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 05:47:14 2020 +0900 |
tree | 222c42bd2e690ec5b812cfa581722f7374c964fd | |
parent | 9a50ffd634ecae4969d13032487224eaf20f6785 [diff] |
Separate the create and start phases in SchedulerWorkerPoolImpl. With this CL, a newly instantiated SchedulerWorkerPoolImpl doesn't have any workers. Tasks can be posted to it but they don't run until Start() is called. When Start() is called, workers are created and tasks can start running. BUG=690706 Review-Url: https://codereview.chromium.org/2801673002 Cr-Commit-Position: refs/heads/master@{#463082} CrOS-Libchrome-Original-Commit: 168cacfff7d0fb37a4f14e9a558cc368524b6ec0