Reland "[Support] Add a way to run a function on a detached thread""
authorSam McCall <sammccall@google.com>
Wed, 23 Oct 2019 13:34:48 +0000 (15:34 +0200)
committerSam McCall <sammccall@google.com>
Wed, 23 Oct 2019 13:51:44 +0000 (15:51 +0200)
commita9c3c176ad741b9c2b915abc59dd977d0299c53f
tree9b3ea3806dcff715124291d8ed990d771165add2
parent10c8dbcb840c744002a824950e8293ef0a1fd61a
Reland "[Support] Add a way to run a function on a detached thread""

This reverts commit 7bc7fe6b789d25d48d6dc71d533a411e9e981237.
The immediate callers have been fixed to pass nullopt where appropriate.
clang/tools/libclang/CIndex.cpp
llvm/include/llvm/Support/Threading.h
llvm/lib/Support/CrashRecoveryContext.cpp
llvm/lib/Support/Threading.cpp
llvm/lib/Support/Unix/Threading.inc
llvm/lib/Support/Unix/Unix.h
llvm/lib/Support/Windows/Process.inc
llvm/lib/Support/Windows/Threading.inc
llvm/lib/Support/Windows/WindowsSupport.h
llvm/unittests/Support/Threading.cpp