Glossary: C++ Beyond the Basics
jthread
Also written: std::jthread
`std::jthread` is a thread that joins itself when destroyed, so you can't forget to call `.join()`.
Glossary: C++ Beyond the Basics
Also written: std::jthread
`std::jthread` is a thread that joins itself when destroyed, so you can't forget to call `.join()`.