mirror of https://github.com/dnomd343/klotski.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
522 B
27 lines
522 B
#include <iostream>
|
|
#include "all_cases.h"
|
|
|
|
#include <thread>
|
|
#include <unistd.h>
|
|
|
|
int main() {
|
|
|
|
std::cout << AllCases::basic_ranges.size() << std::endl;
|
|
|
|
std::thread t1(AllCases::build_basic_ranges);
|
|
usleep(100);
|
|
std::thread t2(AllCases::build_basic_ranges);
|
|
usleep(100);
|
|
std::thread t3(AllCases::build_basic_ranges);
|
|
usleep(100);
|
|
|
|
t1.join();
|
|
t2.join();
|
|
t3.join();
|
|
|
|
AllCases::build_basic_ranges();
|
|
|
|
std::cout << AllCases::basic_ranges.size() << std::endl;
|
|
|
|
return 0;
|
|
}
|
|
|