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

◆ is_main_thread()

bool xtd::threading::thread::is_main_thread ( ) const
noexcept

Gets a value indicating the current thread is the main thread.

Returns
true if this thread is the main thread; otherwise, false.