diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-06-27 15:13:01 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-06-27 15:13:01 +0000 |
commit | 39cd216f8f6c04aadd00de08f8ccb628eb33a514 (patch) | |
tree | fac5da73735d28abc2b0be86f2ce04a9042ce5a9 /llvm/unittests/Support/ManagedStatic.cpp | |
parent | 61220ef405651ee8ab79196e2ddb02873b9fab44 (diff) | |
download | bcm5719-llvm-39cd216f8f6c04aadd00de08f8ccb628eb33a514.tar.gz bcm5719-llvm-39cd216f8f6c04aadd00de08f8ccb628eb33a514.zip |
Re-apply r211287: Remove support for LLVM runtime multi-threading.
I'll fix the problems in libclang and other projects in ways that don't
require <mutex> until we sort out the cygwin situation.
llvm-svn: 211900
Diffstat (limited to 'llvm/unittests/Support/ManagedStatic.cpp')
-rw-r--r-- | llvm/unittests/Support/ManagedStatic.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Support/ManagedStatic.cpp b/llvm/unittests/Support/ManagedStatic.cpp index ad2fc977e6d..153884ba429 100644 --- a/llvm/unittests/Support/ManagedStatic.cpp +++ b/llvm/unittests/Support/ManagedStatic.cpp @@ -47,7 +47,6 @@ TEST(Initialize, MultipleThreads) { void *p1 = test1::allocate_stack(a1); void *p2 = test1::allocate_stack(a2); - llvm_start_multithreaded(); pthread_t t1, t2; pthread_create(&t1, &a1, test1::helper, nullptr); pthread_create(&t2, &a2, test1::helper, nullptr); @@ -55,7 +54,6 @@ TEST(Initialize, MultipleThreads) { pthread_join(t2, nullptr); free(p1); free(p2); - llvm_stop_multithreaded(); } #endif |