summaryrefslogtreecommitdiffstats
path: root/third_party/libjingle/files/talk/base/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libjingle/files/talk/base/thread.h')
-rw-r--r--third_party/libjingle/files/talk/base/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/libjingle/files/talk/base/thread.h b/third_party/libjingle/files/talk/base/thread.h
index 5da0aed..367203a 100644
--- a/third_party/libjingle/files/talk/base/thread.h
+++ b/third_party/libjingle/files/talk/base/thread.h
@@ -55,6 +55,7 @@ public:
static void SetCurrent(Thread *thread);
void Add(Thread *thread);
void Remove(Thread *thread);
+ bool ThreadActive(Thread *thread);
private:
Thread *main_thread_;
@@ -132,6 +133,7 @@ private:
std::list<_SendMessage> sendlist_;
ThreadPriority priority_;
+ CriticalSection crit_;
bool started_;
bool has_sends_;