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

Issue 2816653003: Do not take a MessageLoopForIO in the constructor of TaskTrackerPosix. (Closed)

Created:
3 years, 8 months ago by fdoray
Modified:
3 years, 8 months ago
Reviewers:
robliao, gab
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not take a MessageLoopForIO in the constructor of TaskTrackerPosix. The MessageLoopForIO isn't available until the service thread is started. TaskTrackerPosix needs to be instantiated before that so that SchedulerWorkerPools can be instantiated with a pointer to it before the TaskScheduler is started. BUG=690706 Review-Url: https://codereview.chromium.org/2816653003 Cr-Commit-Position: refs/heads/master@{#465586} Committed: https://chromium.googlesource.com/chromium/src/+/2cc05d188ea62c172bf3bf54611671c95c380ab7

Patch Set 1 #

Patch Set 2 : self-review #

Total comments: 4

Patch Set 3 : CR-gab #

Patch Set 4 : self-review #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -34 lines) Patch
M base/task_scheduler/task_scheduler_impl.h View 1 2 3 4 3 chunks +10 lines, -2 lines 0 comments Download
M base/task_scheduler/task_scheduler_impl.cc View 1 2 3 4 4 chunks +9 lines, -20 lines 0 comments Download
M base/task_scheduler/task_tracker_posix.h View 1 2 1 chunk +13 lines, -4 lines 0 comments Download
M base/task_scheduler/task_tracker_posix.cc View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M base/task_scheduler/task_tracker_posix_unittest.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 30 (23 generated)
fdoray
PTAL
3 years, 8 months ago (2017-04-12 13:53:29 UTC) #4
gab
https://codereview.chromium.org/2816653003/diff/20001/base/task_scheduler/task_scheduler_impl.cc File base/task_scheduler/task_scheduler_impl.cc (right): https://codereview.chromium.org/2816653003/diff/20001/base/task_scheduler/task_scheduler_impl.cc#newcode177 base/task_scheduler/task_scheduler_impl.cc:177: #endif Hmmm, not starting non-POSIX TaskTracker too?? https://codereview.chromium.org/2816653003/diff/20001/base/task_scheduler/task_tracker_posix.h File ...
3 years, 8 months ago (2017-04-12 19:17:35 UTC) #7
fdoray
ptanl https://codereview.chromium.org/2816653003/diff/20001/base/task_scheduler/task_scheduler_impl.cc File base/task_scheduler/task_scheduler_impl.cc (right): https://codereview.chromium.org/2816653003/diff/20001/base/task_scheduler/task_scheduler_impl.cc#newcode177 base/task_scheduler/task_scheduler_impl.cc:177: #endif On 2017/04/12 19:17:34, gab wrote: > Hmmm, ...
3 years, 8 months ago (2017-04-13 12:29:08 UTC) #12
gab
Ah, got it, that's indeed clearer, lgtm
3 years, 8 months ago (2017-04-13 15:31:39 UTC) #16
commit-bot: I haz the power
This CL has an open dependency (Issue 2809163003 Patch 140001). Please resolve the dependency and ...
3 years, 8 months ago (2017-04-19 12:45:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2816653003/80001
3 years, 8 months ago (2017-04-19 14:00:51 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 14:07:06 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/2cc05d188ea62c172bf3bf546116...

Powered by Google App Engine
This is Rietveld 408576698