I\'ve been trying to familiarize myself with the std::thread library in C++11, and have arrived at a stumbling block.
Initially I come from a posix
You can do some modifications like this if you don't want to include a big library.
It is still dependend C++ compiler STL library. (Clang / MSVC now)
HackingSTL Library
std::thread thread = std::stacking_thread(65536, []{ printf("Hello, world!\n"); });