Difference between C ++ 11 between <thread> get_id () and native_handle ()
1 answer
From this link :
get_idreturns stream id
and
native_handlereturns the base thread descriptor defined by the implementation
The stream identifier returned get_idmust be a class ( std::thread::id) and not a number or another specific platform descriptor.
native_handle , , , . Windows HANDLE, CreateThread, POSIX pthread_t pthread_create.
+5