Skip to content
  • commit-queue@webkit.org's avatar
    Cross-platform processor core counter · 2d69c951
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=76530
    
    Patch by Roland Takacs <takacs.roland@stud.u-szeged.hu> on 2012-01-18
    Reviewed by Zoltan Herczeg.
    
    Source/JavaScriptCore:
    
    Two files have been created that include the processor core counter function.
    It used to be in ParallelJobsGeneric.h/cpp before.
    
    * GNUmakefile.list.am:
    * JavaScriptCore.gypi:
    * JavaScriptCore.vcproj/WTF/WTF.vcproj:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * runtime/Options.cpp:
    (JSC::Options::initializeOptions):
    * wtf/CMakeLists.txt:
    * wtf/NumberOfCores.cpp: Added.
    (WTF::numberOfProcessorCores):
    * wtf/NumberOfCores.h: Added.
    * wtf/ParallelJobsGeneric.cpp:
    (WTF::ParallelEnvironment::ParallelEnvironment):
    * wtf/ParallelJobsGeneric.h:
    
    Source/WTF:
    
    Two files have been added to the project, namely NumberOfCores.h/cpp,
    that include a CPU core number determining function.
    
    * WTF.pro:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2d69c951