C++11 ‘native_handle’ is not a member of ‘std::this_thread’
There is no way for a thread to autonomously gain access to its own std::thread. This is on purpose since std::thread is a move-only type. I believe what you’re requesting is a native_handle() member of std::thread::id, and that is an interesting suggestion. As far as I know it is not currently possible. It would be … Read more