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

◆ thread_priority

Specifies the scheduling priority of a system::threading::thread.

enum class thread_priority
thread_priority
Specifies the scheduling priority of a system::threading::thread.
Definition thread_priority.h:24
Header
#include <xtd/threading/thread_priority>
Namespace
xtd::threading
Library
xtd.core
Enumerator
lowest 

The system::threading::thread can be scheduled after threads with any other priority.

below_normal 

The system::threading::thread can be scheduled after threads with thread_priority::normal priority and before those with thread_priority::lowest priority.

normal 

The system::threading::thread can be scheduled after threads with thread_priority::above_normal priority and before those with thread_priority::below_normal priority. Threads have thread_priority::normal priority by default.

above_normal 

The system::threading::thread can be scheduled after threads with thread_priority::highest priority and before those with thread_priority::normal priority.

highest 

The system::threading::thread can be scheduled before threads with any other priority.