Код: Выделить всё
#include
#include
#include
#include
#include
using namespace std;
// Function that each thread will execute
void threadFunction()
{
std::string str;
str = "abcdefghijklmnopqrstuvwxyz";
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78703530/virtual-memory-size-increases-considerably-with-thread-count[/url]
Мобильная версия