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

Unified Diff: base/threading/simple_thread.h

Issue 6949009: Add support for real-time audio threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/simple_thread.h
===================================================================
--- base/threading/simple_thread.h (revision 84711)
+++ base/threading/simple_thread.h (working copy)
@@ -104,6 +104,10 @@
// Overridden from PlatformThread::Delegate:
virtual void ThreadMain();
+ void SetThreadPriority(ThreadPriority priority) {
+ PlatformThread::SetThreadPriority(thread_, priority);
+ }
+
private:
const std::string name_prefix_;
std::string name_;

Powered by Google App Engine
This is Rietveld 408576698