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
This commit is contained in:
Kuba Mracek 2016-12-16 18:44:01 +00:00
parent e3b75ded98
commit 79b4f0ad9c
1 changed files with 1 additions and 1 deletions

View File

@ -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)));