Lines Matching refs:Thread
32 class Thread; variable
43 Thread* CurrentThread();
44 void SetCurrentThread(Thread* thread);
59 Thread *WrapCurrentThread();
76 Thread *thread;
84 virtual void Run(Thread* thread) = 0;
95 class Thread : public MessageQueue {
97 explicit Thread(SocketServer* ss = NULL);
102 ~Thread() override;
104 static Thread* Current();
115 Thread* const thread_;
249 void ReceiveSendsFromThread(const Thread* source);
255 bool PopSendMessageFromThread(const Thread* source, _SendMessage* msg);
279 RTC_DISALLOW_COPY_AND_ASSIGN(Thread);
286 class AutoThread : public Thread {
297 class ComThread : public Thread {
314 old_ss_ = Thread::Current()->socketserver(); in SocketServerScope()
315 Thread::Current()->set_socketserver(ss); in SocketServerScope()
318 Thread::Current()->set_socketserver(old_ss_); in ~SocketServerScope()