mirror of
https://github.com/boostorg/regex.git
synced 2025-07-03 15:46:32 +02:00
reduce thread load so test completes faster.
[SVN r37060]
This commit is contained in:
@ -73,7 +73,7 @@ int cpp_main(int /*argc*/, char * /*argv*/[])
|
|||||||
get_array_data(); // initialises data.
|
get_array_data(); // initialises data.
|
||||||
|
|
||||||
std::list<boost::shared_ptr<boost::thread> > threads;
|
std::list<boost::shared_ptr<boost::thread> > threads;
|
||||||
for(int i = 0; i < 10; ++i)
|
for(int i = 0; i < 5; ++i)
|
||||||
{
|
{
|
||||||
threads.push_back(boost::shared_ptr<boost::thread>(new boost::thread(&run_tests)));
|
threads.push_back(boost::shared_ptr<boost::thread>(new boost::thread(&run_tests)));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user