commit | 0f358eedd390d9c0017ec60ff95c51cfa07d60a5 | [log] [tgz] |
---|---|---|
author | fdoray <fdoray@chromium.org> | Tue Apr 25 21:22:23 2017 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 25 21:22:23 2017 |
tree | 9c34ddbbc941803b18507c8a36746ace69ff17f4 | |
parent | f232398ebba7a9074272ac9c9c5fd0f73c73a5da [diff] |
Separate the create and start phases in TaskSchedulerImpl. The task scheduler doesn't create threads before Start() is called. Tasks can be posted before Start(), but they don't run right away. Tasks can only run once Start() has been called. BUG=690706 Review-Url: https://codereview.chromium.org/2834063002 Cr-Commit-Position: refs/heads/master@{#467117}