DescriptionTaskScheduler: Add internal::GetTaskPriorityForCurrentThread().
This function returns the TaskPriority of the currently running
task. It will used to initialize TaskTraits with the priority of
the currently running task.
BUG=553459
TBR=danakj@chromium.org
Committed: https://crrev.com/0458ffb3117d62ea4922b578effb625ed118d647
Cr-Commit-Position: refs/heads/master@{#435728}
Patch Set 1 #Patch Set 2 : self-review #Patch Set 3 : self-review #
Total comments: 4
Patch Set 4 : traits -> priority #Patch Set 5 : traits -> priority #
Total comments: 7
Patch Set 6 : rename to scoped_set_task_priority_for_current_thread.h/cc #
Dependent Patchsets: Messages
Total messages: 22 (8 generated)
|