Chromium Code Reviews
Descriptionbase: Set initial thread priority in ThreadFunc.
Instead of relying on base::InitOnThread to set the initial thread
priority to normal, always set it to thread_params->priority in
ThreadFunc.
The result is that thread priority will be set correctly on all
posix platforms and not only Android.
BUG=584025
TEST=base_unittests --gtest_filter=PlatformThreadTest.ThreadPriorityCurrentThread
Committed: https://crrev.com/45828eb26e18f1ba333f0c39b20036a60932886b
Cr-Commit-Position: refs/heads/master@{#373761}
Patch Set 1 #
Total comments: 2
Patch Set 2 : remove InitOnThread #Patch Set 3 : refactor #Patch Set 4 : remove pthread_getschedparam/pthread_setschedparam calls #Patch Set 5 : nacl fix #Patch Set 6 : cl format and add comment #
Messages
Total messages: 41 (16 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||