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

Unified Diff: base/threading/platform_thread_internal_posix.h

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_internal_posix.h
diff --git a/base/threading/platform_thread_internal_posix.h b/base/threading/platform_thread_internal_posix.h
index 05a8d1e26e78bd56d4e539110aad330a4ed01b1d..a3f815ada26c102f4b9b70708601d07c54a4e56b 100644
--- a/base/threading/platform_thread_internal_posix.h
+++ b/base/threading/platform_thread_internal_posix.h
@@ -31,6 +31,10 @@ ThreadPriority NiceValueToThreadPriority(int nice_value);
// implementation should instead proceed.
bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority);
+// Sets plaftorm specific |priority| to given |tid|.
+bool SetChildThreadPriorityInCurrentProcess(PlatformThreadId tid,
+ ThreadPriority priority);
+
// Returns true if there is a platform-specific ThreadPriority set on the
// current thread (and returns the actual ThreadPriority via |priority|).
// Returns false otherwise, leaving |priority| untouched.

Powered by Google App Engine
This is Rietveld 408576698