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

Unified Diff: base/threading/platform_thread_mac.mm

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_mac.mm
diff --git a/base/threading/platform_thread_mac.mm b/base/threading/platform_thread_mac.mm
index 7ab47cb4c6c64ae4a6a4b4076c5d034fd9ce200a..6811eb3e4f72e0bbc72c074d7b97e63439e51c33 100644
--- a/base/threading/platform_thread_mac.mm
+++ b/base/threading/platform_thread_mac.mm
@@ -181,6 +181,15 @@ ThreadPriority PlatformThread::GetCurrentThreadPriority() {
return ThreadPriority::NORMAL;
}
+// static
+bool PlatformThread::SetChildThreadPriorityInCurrentProcess(
+ PlatformThreadHandle thread_handle,
+ PlatformThreadId tid,
+ ThreadPriority priority) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) {
#if defined(OS_IOS)
return 0;

Powered by Google App Engine
This is Rietveld 408576698