Gets a value indicating whether or not a thread is a background thread.
Returns
true if this thread is or is to become a background thread; otherwise, false.
Exceptions
xtd::threadng::thread_state_exception
The thread is dead.
Remarks
A thread is either a background thread or a foreground thread. Background threads are identical to foreground threads, except that background threads do not prevent a process from terminating. Once all foreground threads belonging to a process have terminated, the system ends the process. Any remaining background threads are stopped and do not complete.
Thread pool threads, which are a pool of worker threads maintained by the runtime. You can configure the thread pool and schedule work on thread pool threads by using the xtd::threading::thread_pool class.
All threads create without xtd::threading::thread class (std::thread or threads create by oparating system API).