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
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user