#include <print>
#include <thread>

uint64_t the_number = 0;

void increment_10_000_000_times()
{
    uint64_t n_loops = 10'000'000;
    while (n_loops--) {
        the_number++;
    }
}


int main()
{
    std::thread t1(increment_10_000_000_times);
    std::thread t2(increment_10_000_000_times);

    t1.join();
    t2.join();

    std::println("the_number: {}", the_number);
    return 0;
}
