diff options
Diffstat (limited to 'base/threading/thread.h')
-rw-r--r-- | base/threading/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/threading/thread.h b/base/threading/thread.h index cf1a86d..15f73a0 100644 --- a/base/threading/thread.h +++ b/base/threading/thread.h @@ -142,6 +142,9 @@ class BASE_EXPORT Thread : PlatformThread::Delegate { // Returns true if the thread has been started, and not yet stopped. bool IsRunning() const; + // Sets the thread priority. The thread must already be started. + void SetPriority(ThreadPriority priority); + protected: // Called just prior to starting the message loop virtual void Init() {} |