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

Issue 42402: Test was examining a variable without first acquiring a required Lock.... (Closed)

Created:
11 years, 9 months ago by ralphl
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Test was examining a variable without first acquiring a required Lock. Also changed Lock::AssertAcquired to be const function (it already was const, in practice, just not declared that way). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12157

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -11 lines) Patch
M base/condition_variable_unittest.cc View 1 7 chunks +31 lines, -7 lines 0 comments Download
M base/lock.h View 1 chunk +1 line, -1 line 0 comments Download
M base/lock_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M base/lock_impl_win.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
ralphl
When shutting down threads, there was a variable that needed to be examined under a ...
11 years, 9 months ago (2009-03-19 18:48:46 UTC) #1
jar (doing other things)
See comments below. Thanks for spotting this!!! http://codereview.chromium.org/42402/diff/1/2 File base/condition_variable_unittest.cc (right): http://codereview.chromium.org/42402/diff/1/2#newcode188 Line 188: // ...
11 years, 9 months ago (2009-03-19 19:23:27 UTC) #2
ralphl
Incorporated jar's comments. Changed method from simple getter to a real function. Fixed comment typos. ...
11 years, 9 months ago (2009-03-19 20:17:54 UTC) #3
jar (doing other things)
LGTM
11 years, 9 months ago (2009-03-19 20:44:11 UTC) #4
cpu_(ooo_6.6-7.5)
11 years, 9 months ago (2009-03-20 00:11:44 UTC) #5
RSLGTM

Powered by Google App Engine
This is Rietveld 408576698