...

/

Automatically Joining

Automatically Joining

Get an overview of std::jthread.

We'll cover the following...

std::jthread stands for joining thread. In addition to std::thread from C++11, std::jthread automatically joins in its destructor and can cooperatively be interrupted.

The following table gives you a concise overview of the std::jthread t functionality. For additional details, please refer to cppreference.com.

Method Description
...