xtd 0.2.0
thread_priority.h
Go to the documentation of this file.
1 #pragma once
5 #include "../enum.h"
6 
8 namespace xtd {
10  namespace threading {
22  enum class thread_priority {
24  lowest = 0,
26  below_normal = 1,
28  normal = 2,
30  above_normal = 3,
32  highest = 4,
33  };
34  }
35 }
36 
38 template<> struct xtd::enum_register<xtd::threading::thread_priority> {
40 };
The system::threading::thread can be scheduled after threads with thread_priority::normal priority an...
The system::threading::thread can be scheduled before threads with any other priority.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The system::threading::thread can be scheduled after threads with thread_priority::highest priority a...
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
thread_priority
Specifies the scheduling priority of a system::threading::thread.
Definition: thread_priority.h:22
The system::threading::thread can be scheduled after threads with thread_priority::above_normal prior...
The system::threading::thread can be scheduled after threads with any other priority.
Provides the registration struct for enumerations.
Definition: enum_register.h:36