diff options
author | Zachary Turner <zturner@google.com> | 2014-06-19 18:18:23 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-06-19 18:18:23 +0000 |
commit | a4d0ff9cd1fb3fe4c3a58d0747dc523f7d9e9e3f (patch) | |
tree | 7a5b3038c8c592ee3a6c580e872a31b9378fbd6a /unittests | |
parent | 6072096fd63c1996cfe731ecddcb6b3232e37b70 (diff) | |
download | llvm-a4d0ff9cd1fb3fe4c3a58d0747dc523f7d9e9e3f.tar.gz llvm-a4d0ff9cd1fb3fe4c3a58d0747dc523f7d9e9e3f.tar.bz2 llvm-a4d0ff9cd1fb3fe4c3a58d0747dc523f7d9e9e3f.tar.xz |
Remove support for LLVM runtime multi-threading.
After a number of previous small iterations, the functions
llvm_start_multithreaded() and llvm_stop_multithreaded() have
been reduced essentially to no-ops. This change removes them
entirely.
Reviewed by: rnk, dblaikie
Differential Revision: http://reviews.llvm.org/D4216
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Support/ManagedStatic.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/unittests/Support/ManagedStatic.cpp b/unittests/Support/ManagedStatic.cpp index ad2fc977e6..153884ba42 100644 --- a/unittests/Support/ManagedStatic.cpp +++ b/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 |