summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test/test_fallback_malloc.pass.cpp
diff options
context:
space:
mode:
authorAsiri Rathnayake <asiri.rathnayake@arm.com>2016-10-13 15:05:19 +0000
committerAsiri Rathnayake <asiri.rathnayake@arm.com>2016-10-13 15:05:19 +0000
commit6d3ea6831d6fe30683d6b5078ad826fdedc2e946 (patch)
tree92f3fb6daa13e34459ba54f27f5bad8da3099793 /libcxxabi/test/test_fallback_malloc.pass.cpp
parent85874a9360334ddb9619aca6344b8ee53296fa1e (diff)
downloadbcm5719-llvm-6d3ea6831d6fe30683d6b5078ad826fdedc2e946.tar.gz
bcm5719-llvm-6d3ea6831d6fe30683d6b5078ad826fdedc2e946.zip
[libcxxabi] Refactor pthread usage into a separate API
This patch refactors all pthread uses of libc++abi into a separate API. This is the first step towards supporting an externlly-threaded libc++abi library. I've followed the conventions already used in the libc++ library for the same purpose. Patch from: Saleem Abdulrasool and Asiri Rathnayake Reviewed by: compnerd, EricWF Differential revisions: https://reviews.llvm.org/D18482 (original) https://reviews.llvm.org/D24864 (final) llvm-svn: 284128
Diffstat (limited to 'libcxxabi/test/test_fallback_malloc.pass.cpp')
-rw-r--r--libcxxabi/test/test_fallback_malloc.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/test/test_fallback_malloc.pass.cpp b/libcxxabi/test/test_fallback_malloc.pass.cpp
index 474e0b3b336..250a7389186 100644
--- a/libcxxabi/test/test_fallback_malloc.pass.cpp
+++ b/libcxxabi/test/test_fallback_malloc.pass.cpp
@@ -10,7 +10,7 @@
#include <iostream>
#include <deque>
-#include <pthread.h>
+#include "../src/threading_support.h"
typedef std::deque<void *> container;
OpenPOWER on IntegriCloud