Ignore:
Timestamp:
Apr 20, 2011, 9:20:28 PM (14 years ago)
Author:
[email protected]
Message:

2011-04-20 Adam Klein <[email protected]>

Reviewed by David Levin.

Rename all uses of JSC_MULTIPLE_THREADS under wtf/... to WTF_MULTIPLE_THREADS
https://bugs.webkit.org/show_bug.cgi?id=59040

This will be used to fix https://bugs.webkit.org/show_bug.cgi?id=55728
by enabling WTF_MULTIPLE_THREADS for Chromium.

  • wtf/CryptographicallyRandomNumber.cpp: (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomNumber): (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomValues):
  • wtf/FastMalloc.cpp:
  • wtf/Platform.h: Enable WTF_MULTIPLE_THREADS whenever JSC_MULTIPLE_THREADS is enabled.
  • wtf/RandomNumber.cpp: (WTF::randomNumber):
  • wtf/RefCountedLeakCounter.cpp: (WTF::RefCountedLeakCounter::increment): (WTF::RefCountedLeakCounter::decrement):
  • wtf/dtoa.cpp: (WTF::pow5mult):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/dtoa.cpp

    r76248 r84466  
    9191namespace WTF {
    9292
    93 #if ENABLE(JSC_MULTIPLE_THREADS)
     93#if ENABLE(WTF_MULTIPLE_THREADS)
    9494Mutex* s_dtoaP5Mutex;
    9595#endif
     
    436436        return;
    437437
    438 #if ENABLE(JSC_MULTIPLE_THREADS)
     438#if ENABLE(WTF_MULTIPLE_THREADS)
    439439    s_dtoaP5Mutex->lock();
    440440#endif
     
    451451
    452452    int p5sCountLocal = p5sCount;
    453 #if ENABLE(JSC_MULTIPLE_THREADS)
     453#if ENABLE(WTF_MULTIPLE_THREADS)
    454454    s_dtoaP5Mutex->unlock();
    455455#endif
     
    464464
    465465        if (++p5sUsed == p5sCountLocal) {
    466 #if ENABLE(JSC_MULTIPLE_THREADS)
     466#if ENABLE(WTF_MULTIPLE_THREADS)
    467467            s_dtoaP5Mutex->lock();
    468468#endif
     
    477477
    478478            p5sCountLocal = p5sCount;
    479 #if ENABLE(JSC_MULTIPLE_THREADS)
     479#if ENABLE(WTF_MULTIPLE_THREADS)
    480480            s_dtoaP5Mutex->unlock();
    481481#endif
Note: See TracChangeset for help on using the changeset viewer.