The new C++ has this std::thread type. Works like a charm. Now I would like to give each thread a name for more easy debugging (like java allows you to). With pthreads I wou
You can use std::thread::native_handle to get the underlaying implementation defined thread. There is no standard function for that natively.
std::thread::native_handle
You can find an example here.