This commit is contained in:
AleksanovED
2025-03-06 10:49:56 +03:00
parent 1036cade95
commit 9156f36ac6
5 changed files with 0 additions and 0 deletions

22
src/main.cpp Normal file
View File

@@ -0,0 +1,22 @@
#include <iostream>
#include <thread>
#include <chrono>
#include "my_start.hpp"
int main() {
my_start();
for (int i = 0; i < 5; ++i) {
std::this_thread::sleep_for(std::chrono::seconds(25));
if (i % 2 == 0) {
n_ok_requests++;
} else {
n_fail_requests++;
}
}
my_fin();
return 0;
}