Virtualize The Existence of a Scheduler Worker Thread
SchedulerWorkers are expected to always remain alive in
SchedulerWorkerPoolImpl. At the same time, we also want threads to sleep. This
change disconnects the SchedulerWorker's lifetime from the thread's
lifetime and allows the SchedulerWorkerPoolImpl to suggest when a worker can
detach the associated thread.
BUG=553459
Review-Url: https://codereview.chromium.org/2044023003
Cr-Commit-Position: refs/heads/master@{#401441}
CrOS-Libchrome-Original-Commit: 86b90282101ddae90c07065d3edb612b9f0a972b
6 files changed