Chromium Code Reviews| 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_; |