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

Unified Diff: content/child/child_process.cc

Issue 2334533002: base: Move renderer threads to the appropriate cpuset. (Closed)
Patch Set: revert to CHECK_NE Created 4 years, 3 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
« no previous file with comments | « content/child/child_process.h ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_process.cc
diff --git a/content/child/child_process.cc b/content/child/child_process.cc
index 9805c062f55c1872eb540abc0a029d8e32a72775..2763ee03cffdb0b12d5934091b9c31f7bad6ff39 100644
--- a/content/child/child_process.cc
+++ b/content/child/child_process.cc
@@ -103,6 +103,13 @@ void ChildProcess::ReleaseProcess() {
main_thread_->OnProcessFinalRelease();
}
+#if defined(OS_LINUX)
+void ChildProcess::SetIOThreadPriority(
+ base::ThreadPriority io_thread_priority) {
+ main_thread_->SetThreadPriority(io_thread_.GetThreadId(), io_thread_priority);
+}
+#endif
+
ChildProcess* ChildProcess::current() {
return g_lazy_tls.Pointer()->Get();
}
« no previous file with comments | « content/child/child_process.h ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698