From 79b4f0ad9cc5b019cf71bac388f1da1de4dd4e34 Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Fri, 16 Dec 2016 18:44:01 +0000 Subject: [PATCH] Follow-up for r289831: Lower the unjoined thread count to 100 in the libcxx-future.mm testcase. Turns out 1000 unjoined threads are a bit too rough in certain environments. llvm-svn: 289971 --- compiler-rt/test/tsan/Darwin/libcxx-future.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/tsan/Darwin/libcxx-future.mm b/compiler-rt/test/tsan/Darwin/libcxx-future.mm index f004d7b..902f267 100644 --- a/compiler-rt/test/tsan/Darwin/libcxx-future.mm +++ b/compiler-rt/test/tsan/Darwin/libcxx-future.mm @@ -12,7 +12,7 @@ int main(int argc, const char *argv[]) { std::vector threads; - for (int i = 0; i < 1000; i++) { + for (int i = 0; i < 100; i++) { std::packaged_task task(my_task); std::future future = task.get_future(); threads.push_back(std::thread(std::move(task))); -- 2.7.4