Bug 126864 - Remove AtomicallyInitializedStatic
Summary: Remove AtomicallyInitializedStatic
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on: 126877
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-12 18:25 PST by Anders Carlsson
Modified: 2014-01-13 08:56 PST (History)
4 users (show)

See Also:


Attachments
Patch (4.69 KB, patch)
2014-01-12 18:27 PST, Anders Carlsson
no flags Details | Formatted Diff | Diff
Patch (10.86 KB, patch)
2014-01-13 08:32 PST, Anders Carlsson
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2014-01-12 18:25:43 PST
Remove AtomicallyInitializedStatic
Comment 1 Anders Carlsson 2014-01-12 18:27:27 PST
Created attachment 220997 [details]
Patch
Comment 2 Anders Carlsson 2014-01-12 18:32:42 PST
Committed r161852: <http://trac.webkit.org/changeset/161852>
Comment 3 WebKit Commit Bot 2014-01-13 02:05:06 PST
Re-opened since this is blocked by bug 126877
Comment 4 Anders Carlsson 2014-01-13 08:32:13 PST
Created attachment 221045 [details]
Patch
Comment 5 Andreas Kling 2014-01-13 08:34:19 PST
Comment on attachment 221045 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=221045&action=review

> Source/WTF/ChangeLog:12
> +        On Mac, add them to a separate file which will hold functions and symbols that we would like
> +        to remove but that are used by Safari. Reimplement them in terms of std::call_once and std::mutex.

Good idea.
Comment 6 Anders Carlsson 2014-01-13 08:34:37 PST
Committed r161879: <http://trac.webkit.org/changeset/161879>
Comment 7 Csaba Osztrogonác 2014-01-13 08:56:15 PST
(In reply to comment #6)
> Committed r161879: <http://trac.webkit.org/changeset/161879>

It broke the Apple Windows build:
 1>..\wtf\ThreadingWin.cpp(170): error C2065: 'atomicallyInitializedStaticMutex' : undeclared identifier