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

◆ main_thread()

static thread & xtd::threading::thread::main_thread ( )
static

Gets the main thread.

Returns
A xtd::threading::thread that is the representation of the main thread.
Remarks
if the thread is not started this method return xtd::threading::thread::invalid_handle.