
1) init start_time_ns_ before the file_read_thread_ is started to avoid data racing as the start_time_ns_ will also be read by the file_read_thread_. 2) add CriticalSection to protect |finished_| that is accessed by FileReadThread and the main thread Also remove the suppression for filemediaengine.cc, which has already been fixed in other cl. TBR=henrike@webrtc.org TEST=try bots and manual tsan v2 test BUG=2078 Review URL: https://webrtc-codereview.appspot.com/2509004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5018 4adac7df-926f-26a2-2b94-8c16560cd09d
Description
No description provided
Languages
C++
76%
C
16%
Python
2.3%
Java
2.1%
Objective-C++
1.5%
Other
1.9%