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

Issue 11888016: Workaround to make MemoryBarrier compile on Win x64 (Closed)

Created:
7 years, 11 months ago by scottmg
Modified:
7 years, 11 months ago
Reviewers:
jschuh, brettw
CC:
chromium-reviews, erikwright+watch_chromium.org, jschuh
Visibility:
Public.

Description

Workaround to make MemoryBarrier compile on Win x64 windows.h #defines "MemoryBarrier" on x64 (on x86 it's an forceinline function). Because atomicops.h uses MemoryBarrier as the public api name, workaround by #undefing and then calling the implementation directly. ref: http://msdn.microsoft.com/en-us/library/windows/desktop/ms684208.aspx R=brettw@chromium.org BUG=166496 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176859

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M base/atomicops.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M base/atomicops_internals_x86_msvc.h View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scottmg
7 years, 11 months ago (2013-01-14 23:51:30 UTC) #1
brettw
lgtm
7 years, 11 months ago (2013-01-15 00:16:34 UTC) #2
jschuh
lo..lgtm
7 years, 11 months ago (2013-01-15 00:22:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/11888016/3001
7 years, 11 months ago (2013-01-15 00:56:11 UTC) #4
commit-bot: I haz the power
7 years, 11 months ago (2013-01-15 08:51:30 UTC) #5
Message was sent while issue was closed.
Change committed as 176859

Powered by Google App Engine
This is Rietveld 408576698