Index: base/threading/platform_thread.h |
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h |
index 4c2db8aba78a1f817288bce6b11c1f29b2397b5c..257f788a7c7b6a2c510bbf4973bb2e57bf698ef6 100644 |
--- a/base/threading/platform_thread.h |
+++ b/base/threading/platform_thread.h |
@@ -205,6 +205,10 @@ class BASE_EXPORT PlatformThread { |
static ThreadPriority GetCurrentThreadPriority(); |
+#if defined(OS_LINUX) |
+ static void SetThreadAffinity(PlatformThreadId id, ThreadPriority priority); |
+#endif |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformThread); |
}; |