Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(878)

Unified Diff: base/threading/platform_thread_posix.cc

Issue 1739993004: content: Implement dynamic priorities for raster threads. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: preparing for checkin. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/threading/platform_thread_posix.cc
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc
index bd6ae2dc09913b6396469455f16891dba90948a8..fa7ba3b36922874d11e8e27b46ae41313037f88b 100644
--- a/base/threading/platform_thread_posix.cc
+++ b/base/threading/platform_thread_posix.cc
@@ -259,6 +259,15 @@ ThreadPriority PlatformThread::GetCurrentThreadPriority() {
#endif // !defined(OS_NACL)
}
+// static
+bool PlatformThread::SetChildThreadPriorityInCurrentProcess(
+ PlatformThreadHandle thread_handle,
+ PlatformThreadId tid,
+ ThreadPriority priority) {
+ // FIXME: Add check for caller process and thread's process.
+ return internal::SetChildThreadPriorityInCurrentProcess(tid, priority);
+}
+
#endif // !defined(OS_MACOSX)
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698