diff options
author | Kuba Mracek <mracek@apple.com> | 2016-12-16 18:44:01 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2016-12-16 18:44:01 +0000 |
commit | 79b4f0ad9cc5b019cf71bac388f1da1de4dd4e34 (patch) | |
tree | 1cb7003104955938918fdeae1513d829cbdee6d3 | |
parent | e3b75ded98fefbd9b52d897b25bb619cfa4df699 (diff) | |
download | bcm5719-llvm-79b4f0ad9cc5b019cf71bac388f1da1de4dd4e34.tar.gz bcm5719-llvm-79b4f0ad9cc5b019cf71bac388f1da1de4dd4e34.zip |
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
-rw-r--r-- | compiler-rt/test/tsan/Darwin/libcxx-future.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/Darwin/libcxx-future.mm b/compiler-rt/test/tsan/Darwin/libcxx-future.mm index f004d7b38d5..902f267ecb8 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<std::thread> threads; - for (int i = 0; i < 1000; i++) { + for (int i = 0; i < 100; i++) { std::packaged_task<int(void)> task(my_task); std::future<int> future = task.get_future(); threads.push_back(std::thread(std::move(task))); |