Ignore:
Timestamp:
Sep 19, 2011, 8:35:49 PM (14 years ago)
Author:
[email protected]
Message:

Removed ENABLE_JSC_MULTIPLE_THREADS and related #ifdefs.
https://bugs.webkit.org/show_bug.cgi?id=68422

As discussed on webkit-dev. All ports build with threads enabled in JSC now.

This may break WinCE and other ports that have not built and tested with
this configuration. I've filed bugs for port maintainers. It's time for
WebKit to move forward.

Reviewed by Sam Weinig.

  • API/APIShims.h:

(JSC::APIEntryShimWithoutLock::APIEntryShimWithoutLock):

  • API/JSContextRef.cpp:
  • heap/MachineStackMarker.cpp:

(JSC::MachineThreads::MachineThreads):
(JSC::MachineThreads::~MachineThreads):
(JSC::MachineThreads::gatherConservativeRoots):

  • heap/MachineStackMarker.h:
  • runtime/InitializeThreading.cpp:

(JSC::initializeThreadingOnce):
(JSC::initializeThreading):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::sharedInstance):

  • runtime/JSGlobalData.h:

(JSC::JSGlobalData::makeUsableFromMultipleThreads):

  • runtime/JSLock.cpp:
  • runtime/Structure.cpp:
  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSLock.cpp

    r81040 r95510  
    3636// automatically protected against concurrent access from multiple threads.
    3737// So it's safe to disable it on non-mac platforms where we don't have native pthreads.
    38 #if ENABLE(JSC_MULTIPLE_THREADS) && (OS(DARWIN) || USE(PTHREADS))
     38#if (OS(DARWIN) || USE(PTHREADS))
    3939
    4040// Acquire this mutex before accessing lock-related data.
     
    214214}
    215215
    216 #else // ENABLE(JSC_MULTIPLE_THREADS) && (OS(DARWIN) || USE(PTHREADS))
     216#else // (OS(DARWIN) || USE(PTHREADS))
    217217
    218218JSLock::JSLock(ExecState*)
     
    261261}
    262262
    263 #endif // ENABLE(JSC_MULTIPLE_THREADS) && (OS(DARWIN) || USE(PTHREADS))
     263#endif // (OS(DARWIN) || USE(PTHREADS))
    264264
    265265} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.