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

◆ managed_thread_id()

int32 xtd::threading::thread::managed_thread_id ( ) const
noexcept

Gets a unique identifier for the current managed thread.

Returns
An integer that represents a unique identifier for this managed thread.
Remarks
A thread's xtd::threading::thread::managed_thread_id property value serves to uniquely identify that thread within its process.
The value of the xtd::threading::thread::managed_thread_id property does not vary over time
Examples
mixing_std_and_xtd_threads.cpp.