Ignore:
Timestamp:
Nov 4, 2008, 10:57:01 AM (17 years ago)
Author:
Darin Adler
Message:

2008-11-03 Darin Adler <Darin Adler>

Reviewed by Tim Hatcher.

  • JavaScriptCore.exp: Changed to export functions rather than a global for the atomically initialized static mutex.
  • JavaScriptCore.xcodeproj/project.pbxproj: Added a script phase that runs the check-for-exit-time-destructors script.
  • wtf/MainThread.cpp: (WTF::mainThreadFunctionQueueMutex): Changed to leak an object rather than using an exit time destructor. (WTF::functionQueue): Ditto.
  • wtf/unicode/icu/CollatorICU.cpp: (WTF::cachedCollatorMutex): Ditto.
  • wtf/Threading.h: Changed other platforms to share the Windows approach where the mutex is internal and the functions are exported.
  • wtf/ThreadingGtk.cpp: (WTF::lockAtomicallyInitializedStaticMutex): Ditto. (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
  • wtf/ThreadingNone.cpp: (WTF::lockAtomicallyInitializedStaticMutex): Ditto. (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
  • wtf/ThreadingPthreads.cpp: (WTF::threadMapMutex): Changed to leak an object rather than using an exit time destructor. (WTF::lockAtomicallyInitializedStaticMutex): Mutex change. (WTF::unlockAtomicallyInitializedStaticMutex): Ditto. (WTF::threadMap): Changed to leak an object rather than using an exit time destructor.
  • wtf/ThreadingQt.cpp: (WTF::lockAtomicallyInitializedStaticMutex): Mutex change. (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
  • wtf/ThreadingWin.cpp: (WTF::lockAtomicallyInitializedStaticMutex): Added an assertion.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r38095 r38101  
    16181618                                932F5B910822A1C700736975 /* Sources */,
    16191619                                9319586B09D9F91A00A56FD4 /* Check For Global Initializers */,
     1620                                933457200EBFDC3F00B80894 /* Check For Exit Time Destructors */,
    16201621                                5D29D8BE0E9860B400C3D2D0 /* Check For Weak VTables */,
    16211622                                932F5BD20822A1C700736975 /* Frameworks */,
     
    18071808                        shellPath = /bin/sh;
    18081809                        shellScript = "if [ -f ../WebKitTools/Scripts/check-for-global-initializers ]; then\n    ../WebKitTools/Scripts/check-for-global-initializers || exit $?\nfi";
     1810                };
     1811                933457200EBFDC3F00B80894 /* Check For Exit Time Destructors */ = {
     1812                        isa = PBXShellScriptBuildPhase;
     1813                        buildActionMask = 2147483647;
     1814                        files = (
     1815                        );
     1816                        inputPaths = (
     1817                        );
     1818                        name = "Check For Exit Time Destructors";
     1819                        outputPaths = (
     1820                        );
     1821                        runOnlyForDeploymentPostprocessing = 0;
     1822                        shellPath = /bin/sh;
     1823                        shellScript = "if [ -f ../WebKitTools/Scripts/check-for-exit-time-destructors ]; then\n    ../WebKitTools/Scripts/check-for-exit-time-destructors || exit $?\nfi";
    18091824                };
    18101825/* End PBXShellScriptBuildPhase section */
Note: See TracChangeset for help on using the changeset viewer.