xtd
0.2.0
Loading...
Searching...
No Matches
◆
thread_state()
xtd::threading::thread_state
xtd::threading::thread::thread_state
(
)
const
noexcept
Gets a value containing the states of the current thread.
Returns
One of the
xtd::threading::thread_state
values indicating the state of the current thread. The initial value is
xtd::threading::thread_state::unstarted
.
Remarks
The
xtd::threading::thread::thread_state
property provides more specific information than the
xtd::threading::thread::is_alive
property.
Warning
Thread state is only of interest in debugging scenarios. Your code should never use thread state to synchronize the activities of threads.
Examples
mixing_std_and_xtd_threads.cpp
.
xtd
threading
thread
Generated on Sat Sep 7 2024 06:18:49 for xtd by
Gammasoft
. All rights reserved.