Glossary: C++ Beyond the Basics
std::thread
Also written: join, hardware_concurrency
Starts a thread running a function, usually a lambda. `.join()` waits for it, and destroying an unjoined `std::thread` stops the program.
Glossary: C++ Beyond the Basics
Also written: join, hardware_concurrency
Starts a thread running a function, usually a lambda. `.join()` waits for it, and destroying an unjoined `std::thread` stops the program.