From 40539b82d5a2c9bcf23d078e997ce0368160f5a3 Mon Sep 17 00:00:00 2001 From: "jiayl@webrtc.org" Date: Wed, 24 Sep 2014 17:14:05 +0000 Subject: Fix a problem in Thread::Send. Previously if thread A->Send is called on thread B, B->ReceiveSends will be called, which enables an arbitrary thread to invoke calls on B while B is wait for A->Send to return. This caused mutliple problems like issue 3559, 3579. The fix is to limit B->ReceiveSends to only process requests from A. Also disallow the worker thread invoking other threads. BUG=3559 R=juberti@webrtc.org Review URL: https://webrtc-codereview.appspot.com/15089004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@7290 4adac7df-926f-26a2-2b94-8c16560cd09d --- app/webrtc/test/peerconnectiontestwrapper.h | 1 - 1 file changed, 1 deletion(-) (limited to 'app/webrtc/test/peerconnectiontestwrapper.h') diff --git a/app/webrtc/test/peerconnectiontestwrapper.h b/app/webrtc/test/peerconnectiontestwrapper.h index f3477ce..d4a0e4e 100644 --- a/app/webrtc/test/peerconnectiontestwrapper.h +++ b/app/webrtc/test/peerconnectiontestwrapper.h @@ -111,7 +111,6 @@ class PeerConnectionTestWrapper bool video, const webrtc::FakeConstraints& video_constraints); std::string name_; - rtc::Thread audio_thread_; rtc::scoped_refptr allocator_factory_; rtc::scoped_refptr peer_connection_; -- cgit v1.2.3