Chromium Code Reviews
DescriptionIntroduce TaskRunnerHandle.
Deprecates ThreadTaskRunnerHandle and SequencedTaskRunnerHandle.
Design doc: https://docs.google.com/document/d/1A_LRKyTOCzhRPOY4Q3RsePuw4UCsvxuFYx6D18BaYk0/edit
CLs will follow to migrate SequencedTaskRunnerHandle callsites (with
goal to have no callsite depending on a SequencedTaskRunner to be
returned from unsequenced task):
- https://codereview.chromium.org/2076153002/
- https://codereview.chromium.org/2076163002/
ThreadTaskRunnerHandle will not be auto migrated as callers of
TaskRunnerHandle's getters should have made an explicit decision
(i.e. TaskRunnerHandle::GetSingleThreaded() should indicate thread-affinity
not merely a migration from ThreadTaskRunnerHandle::Get() which is
often over-specific in today's usage).
BUG=618043
Patch Set 1 #Patch Set 2 : +tests #
Total comments: 8
Patch Set 3 : actually +tests #Patch Set 4 : tweak comments #
Total comments: 12
Patch Set 5 : internal::TaskScopeState and union to only use one TLS slot #Patch Set 6 : merge up to r399707 #Patch Set 7 : fix compile #Patch Set 8 : support for parallel tasks from SequencedWorkerPool #
Total comments: 22
Patch Set 9 : review:fdoray -- static_cast instead of union #Patch Set 10 : update comments #
Dependent Patchsets: Messages
Total messages: 18 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||