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

Issue 10636044: Enable base::NonThreadSafe when DCHECK_ALWAYS_ON is set (Closed)

Created:
8 years, 6 months ago by Ryan Sleevi
Modified:
8 years, 5 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org, jam
Visibility:
Public.

Description

Enable base::NonThreadSafe when DCHECK_ALWAYS_ON is set Previously base::NonThreadSafe only looked at Debug builds. Also enable it for Release builds when DCHECK_ALWAYS_ON is set (eg: the try bots & waterfall bots) BUG=none TEST=existing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144384

Patch Set 1 #

Patch Set 2 : Add back IWYU violation, address separately #

Total comments: 1

Patch Set 3 : Review feedback #

Patch Set 4 : Rebased #

Patch Set 5 : Fix Linux build #

Patch Set 6 : ASSERT_DEBUG_DEATH->ASSERT_DEATH #

Patch Set 7 : Fix ODR violation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -16 lines) Patch
M base/threading/non_thread_safe.h View 1 2 3 2 chunks +17 lines, -8 lines 0 comments Download
M base/threading/non_thread_safe_unittest.cc View 1 2 3 4 5 6 7 chunks +23 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Ryan Sleevi
willchan: For review +cc jam: FYI in the event of objections Relevant Chromium-dev style/correctness thread: ...
8 years, 6 months ago (2012-06-25 23:10:35 UTC) #1
jam
cool, I'll switch thread_restrictions to this as well. http://codereview.chromium.org/10636044/diff/5002/base/threading/non_thread_safe.h File base/threading/non_thread_safe.h (right): http://codereview.chromium.org/10636044/diff/5002/base/threading/non_thread_safe.h#newcode23 base/threading/non_thread_safe.h:23: // ...
8 years, 6 months ago (2012-06-26 01:56:30 UTC) #2
willchan no longer on Chromium
lgtm On Mon, Jun 25, 2012 at 6:56 PM, <jam@chromium.org> wrote: > cool, I'll switch ...
8 years, 6 months ago (2012-06-26 05:51:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10636044/9001
8 years, 6 months ago (2012-06-26 18:58:34 UTC) #4
commit-bot: I haz the power
Failed to apply patch for base/threading/non_thread_safe.h: While running patch -p1 --forward --force; patching file base/threading/non_thread_safe.h ...
8 years, 6 months ago (2012-06-26 18:58:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10636044/10002
8 years, 6 months ago (2012-06-26 19:02:14 UTC) #6
commit-bot: I haz the power
Try job failure for 10636044-10002 (retry) on linux_rel for step "base_unittests". It's a second try, ...
8 years, 6 months ago (2012-06-26 19:44:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10636044/17001
8 years, 6 months ago (2012-06-26 22:09:42 UTC) #8
commit-bot: I haz the power
Try job failure for 10636044-17001 (retry) on mac_rel for step "base_unittests". It's a second try, ...
8 years, 6 months ago (2012-06-26 23:04:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10636044/24003
8 years, 6 months ago (2012-06-26 23:12:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10636044/26002
8 years, 6 months ago (2012-06-27 01:40:33 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-06-27 03:13:36 UTC) #12
Change committed as 144384

Powered by Google App Engine
This is Rietveld 408576698