DescriptionReland: base: Support setting thread priorities generically.
This patch supports setting priorities across platforms
at the PlatformThread level, by stashing thread id into the
thread handle on linux/android.
Since this adds more platform specific code, and #ifdefs
were starting to get unwieldy, all platform specific code
is moved into _platform.cc files, with the exception of the
'default' implementation, which stay in _posix.
BUG=170549
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201202
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201389
Patch Set 1 #Patch Set 2 : Fix win build. #Patch Set 3 : Added back JNI for Audio. #
Total comments: 12
Patch Set 4 : Rebase. #
Total comments: 2
Patch Set 5 : Add id to handle. #
Total comments: 21
Patch Set 6 : Address feedback. #Patch Set 7 : Fix win bots. #Patch Set 8 : Rebase. #
Total comments: 14
Patch Set 9 : Address feedback. #
Total comments: 2
Patch Set 10 : Fix private member access. #Patch Set 11 : Rebase, fix bots. #Patch Set 12 : Remove static initializers. #Messages
Total messages: 46 (0 generated)
|