Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: webrtc/build/sanitizers/tsan_suppressions_webrtc.cc

Issue 2023193002: Protect MessageQueue stop field with a critical section to avoid data races. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: initialize with 0 Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/thread.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 // This file contains the WebRTC suppressions for ThreadSanitizer. 11 // This file contains the WebRTC suppressions for ThreadSanitizer.
12 // Please refer to 12 // Please refer to
13 // http://dev.chromium.org/developers/testing/threadsanitizer-tsan-v2 13 // http://dev.chromium.org/developers/testing/threadsanitizer-tsan-v2
14 // for more info. 14 // for more info.
15 15
16 #if defined(THREAD_SANITIZER) 16 #if defined(THREAD_SANITIZER)
17 17
18 // Please make sure the code below declares a single string variable 18 // Please make sure the code below declares a single string variable
19 // kTSanDefaultSuppressions contains TSan suppressions delimited by newlines. 19 // kTSanDefaultSuppressions contains TSan suppressions delimited by newlines.
20 // See http://dev.chromium.org/developers/testing/threadsanitizer-tsan-v2 20 // See http://dev.chromium.org/developers/testing/threadsanitizer-tsan-v2
21 // for the instructions on writing suppressions. 21 // for the instructions on writing suppressions.
22 char kTSanDefaultSuppressions[] = 22 char kTSanDefaultSuppressions[] =
23 23
24 // WebRTC specific suppressions. 24 // WebRTC specific suppressions.
25 25
26 // Split up suppressions covered previously by thread.cc and messagequeue.cc. 26 // Split up suppressions covered previously by thread.cc and messagequeue.cc.
27 "race:rtc::MessageQueue::Quit\n"
28 "race:vp8cx_remove_encoder_threads\n" 27 "race:vp8cx_remove_encoder_threads\n"
29 "race:third_party/libvpx/source/libvpx/vp9/common/vp9_scan.h\n" 28 "race:third_party/libvpx/source/libvpx/vp9/common/vp9_scan.h\n"
30 29
31 // Usage of trace callback and trace level is racy in rtc_media_unittests. 30 // Usage of trace callback and trace level is racy in rtc_media_unittests.
32 // https://code.google.com/p/webrtc/issues/detail?id=3372 31 // https://code.google.com/p/webrtc/issues/detail?id=3372
33 "race:webrtc::TraceImpl::WriteToFile\n" 32 "race:webrtc::TraceImpl::WriteToFile\n"
34 "race:webrtc::VideoEngine::SetTraceFilter\n" 33 "race:webrtc::VideoEngine::SetTraceFilter\n"
35 "race:webrtc::VoiceEngine::SetTraceFilter\n" 34 "race:webrtc::VoiceEngine::SetTraceFilter\n"
36 "race:webrtc::Trace::set_level_filter\n" 35 "race:webrtc::Trace::set_level_filter\n"
37 "race:webrtc::GetStaticInstance<webrtc::TraceImpl>\n" 36 "race:webrtc::GetStaticInstance<webrtc::TraceImpl>\n"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 "race:webrtc::voe::TransmitMixer::EnableStereoChannelSwapping\n" 86 "race:webrtc::voe::TransmitMixer::EnableStereoChannelSwapping\n"
88 87
89 // Race between InitCpuFlags and TestCpuFlag in libyuv. 88 // Race between InitCpuFlags and TestCpuFlag in libyuv.
90 // https://code.google.com/p/libyuv/issues/detail?id=508 89 // https://code.google.com/p/libyuv/issues/detail?id=508
91 "race:InitCpuFlags\n" 90 "race:InitCpuFlags\n"
92 91
93 // End of suppressions. 92 // End of suppressions.
94 ; // Please keep this semicolon. 93 ; // Please keep this semicolon.
95 94
96 #endif // THREAD_SANITIZER 95 #endif // THREAD_SANITIZER
OLDNEW
« no previous file with comments | « webrtc/base/thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698