diff options
author | reveman <reveman@chromium.org> | 2016-02-05 00:24:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-05 08:25:48 +0000 |
commit | e7acf844a6d1612b64ce7dad2f686cb84934a331 (patch) | |
tree | 4e5c0e39b1d1a11a64e3443262aa1a0b47d17204 /base/threading | |
parent | 5867dd80dd69f23f6bab8598bf037bc91ed8ec99 (diff) | |
download | chromium_src-e7acf844a6d1612b64ce7dad2f686cb84934a331.zip chromium_src-e7acf844a6d1612b64ce7dad2f686cb84934a331.tar.gz chromium_src-e7acf844a6d1612b64ce7dad2f686cb84934a331.tar.bz2 |
Change DISPLAY thread priority to -8 on Linux.
This also sets the priority of display critical threads to DISPLAY on
ChromeOS. -8 match the priority used on Android for display critical
threads (DISPLAY_URGENT) that are part of the framework.
BUG=internal b/26877099
Review URL: https://codereview.chromium.org/1638413011
Cr-Commit-Position: refs/heads/master@{#373767}
Diffstat (limited to 'base/threading')
-rw-r--r-- | base/threading/platform_thread_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/platform_thread_linux.cc b/base/threading/platform_thread_linux.cc index 93c040b..95ed324 100644 --- a/base/threading/platform_thread_linux.cc +++ b/base/threading/platform_thread_linux.cc @@ -35,7 +35,7 @@ const struct sched_param kRealTimePrio = {8}; const ThreadPriorityToNiceValuePair kThreadPriorityToNiceValueMap[4] = { {ThreadPriority::BACKGROUND, 10}, {ThreadPriority::NORMAL, 0}, - {ThreadPriority::DISPLAY, -6}, + {ThreadPriority::DISPLAY, -8}, {ThreadPriority::REALTIME_AUDIO, -10}, }; |