thread & xtd::threading::thread::priority | ( | xtd::threading::thread_priority | value | ) |
Sets a value indicating the scheduling priority of a thread.
value | One of the xtd::threading::thread_priority values. The default value is xtd::threading::thread_priority::normal. |
xtd::threading::thread_state_exception | The thread has reached a final state, such as Aborted. |
xtd::argument_exception | The value specified for a set operation is not a valid xtd::threading::thread_priority value. |