// // 7.1.thread.basic.cpp // chapter 7 parallelism and concurrency // modern c++ tutorial // // created by changkun at changkun.de // https://github.com/changkun/modern-cpp-tutorial // #include #include int main() { std::thread t([](){ std::cout << "hello world." << std::endl; }); t.join(); return 0; }