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

Issue 126267: Add -fno-threadsafe-statics to the Linux build. (Closed)

Created:
11 years, 6 months ago by Dean McNamee
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai, M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add -fno-threadsafe-statics to the Linux build. We already depend on our static initializers being thread safe, since MSVC does not implement locking around static initialization. This avoids extra locking (__cxa_guard_acquire / __cxa_guard_release).

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M build/common.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Dean McNamee
Not sure if we want the same on Mac?
11 years, 6 months ago (2009-06-17 10:23:11 UTC) #1
M-A Ruel
lgtm
11 years, 6 months ago (2009-06-17 11:51:30 UTC) #2
Mark Mentovai
11 years, 6 months ago (2009-06-17 16:37:45 UTC) #3
LGTM.

There are a few cases where we use local statics in Mac-specific code.  None of
them should be in multithreadable code, but you never know.  I wouldn't turn
this on on the Mac until we had a chance to look at those uses.

Powered by Google App Engine
This is Rietveld 408576698