xtd 0.2.0
Loading...
Searching...
No Matches

◆ thread_id()

intptr xtd::threading::thread::thread_id ( ) const
noexcept

Gets the native operating system thread id.

Returns
An intptr representing the native operating thread id.
Remarks
if the thread is not started this method return xtd::threading::thread::invalid_thread_id.
Examples
mixing_std_and_xtd_threads.cpp.