aboutsummaryrefslogtreecommitdiff
path: root/webrtc/base/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/base/thread.h')
-rw-r--r--webrtc/base/thread.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/webrtc/base/thread.h b/webrtc/base/thread.h
index 9cbe8ec4dc..f91aa56733 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)