aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Threading.cpp
AgeCommit message (Expand)AuthorFilesLines
2023-07-19Define llvm::thread::DefaultStackSize to 4 megabytes on AIXWael Yehia1-0/+5
2022-12-18Include <optional> instead of "llvm/ADT/Optional.h"Kazu Hirata1-1/+1
2022-12-16[Support] llvm::Optional => std::optionalFangrui Song1-2/+2
2022-12-01Threading: Convert Optional to std::optionalFangrui Song1-2/+2
2022-12-01Revert "Threading: Convert Optional to std::optional"Daniel Thornburgh1-2/+2
2022-12-01Threading: Convert Optional to std::optionalFangrui Song1-2/+2
2022-11-29[Support] Move getHostNumPhysicalCores to Threading.hArchibald Elliott1-3/+6
2022-11-25Revert "[Support] Move getHostNumPhysicalCores to Threading.h"Florian Hahn1-129/+3
2022-11-25[Support] Move getHostNumPhysicalCores to Threading.hArchibald Elliott1-3/+129
2022-11-23Host: Internalize computeHostNumPhysicalCores/computeHostNumHardwareThreadsFangrui Song1-1/+1
2022-11-23Revert "Host: Internalize computeHostNumPhysicalCores/computeHostNumHardwareT...Fangrui Song1-1/+1
2022-11-23Host: Internalize computeHostNumPhysicalCores/computeHostNumHardwareThreadsFangrui Song1-1/+1
2022-08-20Remove redundant initialization of Optional (NFC)Kazu Hirata1-1/+1
2022-08-08[Support] move llvm::llvm_is_multithread to header, NFCJun Zhang1-8/+0
2021-07-09[Support] reorder Threading includes to avoid conflict with FreeBSD headersTim Northover1-1/+5
2021-07-08Recommit: Support: add llvm::thread class that supports specifying stack size.Tim Northover1-51/+10
2021-07-08Revert "Support: add llvm::thread class that supports specifying stack size."Tim Northover1-1/+53
2021-07-08Support: add llvm::thread class that supports specifying stack size.Tim Northover1-53/+1
2020-04-24[llvm-cov] Prevent llvm-cov from using too many threadsAlexandre Ganea1-4/+5
2020-03-28After 09158252f777c2e2f06a86b154c44abcbcf9bb74, fix build when -DLLVM_ENABLE_...Alexandre Ganea1-20/+20
2020-03-27[ThinLTO] Allow usage of all hardware threads in the systemAlexandre Ganea1-5/+23
2020-02-14[Support] On Windows, ensure hardware_concurrency() extends to all CPU socket...Alexandre Ganea1-27/+19
2019-10-23Reland "[Support] Add a way to run a function on a detached thread""Sam McCall1-2/+49
2019-10-23Revert "[Support] Add a way to run a function on a detached thread"Sam McCall1-49/+2
2019-10-23[Support] Add a way to run a function on a detached threadSam McCall1-2/+49
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-04-29s/LLVM_ON_WIN32/_WIN32/, llvmNico Weber1-2/+2
2017-10-04Bring r314809 back.Rafael Espindola1-0/+14
2017-10-04Revert D38481 due to missing cmake check for CPU_COUNTDaniel Neilson1-14/+0
2017-10-03Use sched_getaffinity instead of std::thread::hardware_concurrency.Rafael Espindola1-0/+14
2017-03-04Try to fix thread name truncation on non-Windows.Zachary Turner1-0/+2
2017-03-03Fix Threading path when LLVM_ENABLE_THREADS=0.Zachary Turner1-1/+1
2017-03-03Don't bring in llvm/Support/thread.h in Threading.cppZachary Turner1-2/+8
2017-03-03[Support] Provide access to current thread name/thread id.Zachary Turner1-84/+29
2016-10-17Rename interface for querying physical hardware concurrencyTeresa Johnson1-1/+1
2016-10-14hardware_physical_concurrency() should return 1 when LLVM is built with LLVM_...Mehdi Amini1-0/+3
2016-10-14Add interface for querying physical hardware concurrencyTeresa Johnson1-0/+8
2016-06-04[LPM] Reinstate r271781 which reinstated r271652 to replace theChandler Carruth1-27/+0
2016-06-04[LPM] Revert r271781 which was a re-commit of r271652.Chandler Carruth1-0/+27
2016-06-04[LPM] Reinstate r271652 to replace the CALL_ONCE_... macro in the legacyChandler Carruth1-27/+0
2016-06-02Fix the use of sys::MemoryFence after including WindowsSupport.h thatChandler Carruth1-0/+5
2016-06-02This is yet another attempt to re-instate r220932 as discussed inChandler Carruth1-0/+28
2016-05-14Revert "Revert "Revert 220932.": "Removing the static initializer in ManagedS...Mehdi Amini1-7/+0
2016-05-14Revert "Revert 220932.": "Removing the static initializer in ManagedStatic.cp...Mehdi Amini1-0/+7
2014-11-05Revert 220932.Jiangning Liu1-7/+0
2014-10-30Removing the static initializer in ManagedStatic.cpp by using llvm_call_once ...Chris Bieneman1-0/+7
2014-06-27Re-apply r211287: Remove support for LLVM runtime multi-threading.Chandler Carruth1-26/+3
2014-06-24Revert r211287, "Remove support for LLVM runtime multi-threading."NAKAMURA Takumi1-3/+26
2014-06-19Remove support for LLVM runtime multi-threading.Zachary Turner1-26/+3
2014-06-19Kill the LLVM global lock.Zachary Turner1-12/+0