Lock RTPSender statistics.

Suppressing these errors in TSan has become tedious. It's better to just
lock them.

BUG=2349
R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/2197004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4713 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org
2013-09-10 11:29:17 +00:00
parent 744fbc7fe4
commit e07049f19f
3 changed files with 8 additions and 28 deletions

View File

@@ -16,29 +16,6 @@
fun:webrtc::Trace::SetTraceCallback
...
}
{
BUG_2349
ThreadSanitizer:Race
fun:webrtc::RTPSender::SendToNetwork
fun:webrtc::RTPSenderVideo::SendVideoPacket
...
fun:webrtc::RTPSenderVideo::SendVideo
fun:webrtc::RTPSender::SendOutgoingData
fun:webrtc::ModuleRtpRtcpImpl::SendOutgoingData
fun:webrtc::ModuleRtpRtcpImpl::SendOutgoingData
fun:webrtc::ViEEncoder::SendData
fun:webrtc::VCMEncodedFrameCallback::Encoded
fun:webrtc::test::FakeEncoder::Encode
fun:webrtc::VCMGenericEncoder::Encode
fun:webrtc::VideoCodingModuleImpl::AddVideoFrame
fun:webrtc::ViEEncoder::DeliverFrame
fun:webrtc::ViEFrameProviderBase::DeliverFrame
fun:webrtc::ViECapturer::DeliverI420Frame
fun:webrtc::ViECapturer::ViECaptureProcess
fun:webrtc::ViECapturer::ViECaptureThreadFunction
fun:webrtc::ThreadPosix::Run
fun:StartThread
}
# Known bugs we don't care about / problems in third parties
{