| Index: webrtc/base/thread.h
|
| diff --git a/webrtc/base/thread.h b/webrtc/base/thread.h
|
| index 9cbe8ec4dc54f1c5a2e9748b7e6a5782302ab3ff..f91aa56733cb82a880adf6c35ae43114c712fe07 100644
|
| --- a/webrtc/base/thread.h
|
| +++ b/webrtc/base/thread.h
|
| @@ -78,13 +78,6 @@ struct _SendMessage {
|
| bool *ready;
|
| };
|
|
|
| -enum ThreadPriority {
|
| - PRIORITY_IDLE = -1,
|
| - PRIORITY_NORMAL = 0,
|
| - PRIORITY_ABOVE_NORMAL = 1,
|
| - PRIORITY_HIGH = 2,
|
| -};
|
| -
|
| class Runnable {
|
| public:
|
| virtual ~Runnable() {}
|
| @@ -137,10 +130,6 @@ class Thread : public MessageQueue {
|
| const std::string& name() const { return name_; }
|
| bool SetName(const std::string& name, const void* obj);
|
|
|
| - // Sets the thread's priority. Must be called before Start().
|
| - ThreadPriority priority() const { return priority_; }
|
| - bool SetPriority(ThreadPriority priority);
|
| -
|
| // Starts the execution of the thread.
|
| bool Start(Runnable* runnable = NULL);
|
|
|
| @@ -271,7 +260,6 @@ class Thread : public MessageQueue {
|
|
|
| std::list<_SendMessage> sendlist_;
|
| std::string name_;
|
| - ThreadPriority priority_;
|
| Event running_; // Signalled means running.
|
|
|
| #if defined(WEBRTC_POSIX)
|
|
|