jthread In C++20 | Multithreading In C++

jthread is a thread object and different than the normal C++11 thread object, because it doesn't require explicit join. It is called join thread or an auto join thread. Jthread auto join when the object is going to get destructed, and first it checks if thread is joinable then it applies join(). JOIN ME    / @cppnuts     / cppnuts   #cppprogramming #multithreading #interview