Cleanup: Replace MessageQueue pointers with Thread pointers.
This is part of a CL series merging rtc::MessageQueue into rtc::Thread. Bug: webrtc:9883 Change-Id: I4a1bcd44c9523b6402b3f05b50597bdc2e6615e3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165345 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30216}
This commit is contained in:
@ -107,7 +107,7 @@ class VirtualSocketServer : public SocketServer, public sigslot::has_slots<> {
|
||||
AsyncSocket* CreateAsyncSocket(int family, int type) override;
|
||||
|
||||
// SocketServer:
|
||||
void SetMessageQueue(MessageQueue* queue) override;
|
||||
void SetMessageQueue(Thread* queue) override;
|
||||
bool Wait(int cms, bool process_io) override;
|
||||
void WakeUp() override;
|
||||
|
||||
@ -267,7 +267,7 @@ class VirtualSocketServer : public SocketServer, public sigslot::has_slots<> {
|
||||
|
||||
// Used to implement Wait/WakeUp.
|
||||
Event wakeup_;
|
||||
MessageQueue* msg_queue_;
|
||||
Thread* msg_queue_;
|
||||
bool stop_on_idle_;
|
||||
in_addr next_ipv4_;
|
||||
in6_addr next_ipv6_;
|
||||
|
||||
Reference in New Issue
Block a user