forked from OSchip/llvm-project
48c68a630e
This adds a new llvm::thread class with the same interface as std::thread except there is an extra constructor that allows us to set the new thread's stack size. On Darwin even the default size is boosted to 8MB to match the main thread. It also switches all users of the older C-style `llvm_execute_on_thread` API family over to `llvm::thread` followed by either a `detach` or `join` call and removes the old API. Moved definition of DefaultStackSize into the .cpp file to hopefully fix the build on some (GCC-6?) machines. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Cancellation.cpp | ||
Cancellation.h | ||
Context.cpp | ||
Context.h | ||
FileCache.cpp | ||
FileCache.h | ||
Function.h | ||
Logger.cpp | ||
Logger.h | ||
Markup.cpp | ||
Markup.h | ||
MemoryTree.cpp | ||
MemoryTree.h | ||
Path.cpp | ||
Path.h | ||
Shutdown.cpp | ||
Shutdown.h | ||
Threading.cpp | ||
Threading.h | ||
ThreadsafeFS.cpp | ||
ThreadsafeFS.h | ||
Trace.cpp | ||
Trace.h |