diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-27 14:11:44 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-27 14:11:44 +0000 |
commit | ded6e7eb09dcd19a286d8fd5ca07c8076f66c49f (patch) | |
tree | 31f1cd1f60ea0301e8a9ba6a06276e744c797b25 /base/threading | |
parent | d3e2026e96995a3c514b396c678cac7fb21db0d4 (diff) | |
download | chromium_src-ded6e7eb09dcd19a286d8fd5ca07c8076f66c49f.zip chromium_src-ded6e7eb09dcd19a286d8fd5ca07c8076f66c49f.tar.gz chromium_src-ded6e7eb09dcd19a286d8fd5ca07c8076f66c49f.tar.bz2 |
Suppress benign race in ThreadTest.SleepInsideInit
BUG=98219
TEST=none
Review URL: http://codereview.chromium.org/8060011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102922 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading')
-rw-r--r-- | base/threading/thread_unittest.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/threading/thread_unittest.cc b/base/threading/thread_unittest.cc index c7cb76a..fe39627 100644 --- a/base/threading/thread_unittest.cc +++ b/base/threading/thread_unittest.cc @@ -43,7 +43,11 @@ class SleepSome : public Task { class SleepInsideInitThread : public Thread { public: - SleepInsideInitThread() : Thread("none") { init_called_ = false; } + SleepInsideInitThread() : Thread("none") { + init_called_ = false; + ANNOTATE_BENIGN_RACE( + this, "Benign test-only data race on vptr - http://crbug.com/98219"); + } virtual ~SleepInsideInitThread() { } virtual void Init() { |