...

/

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 ...