xtd 0.2.0
Loading...
Searching...
No Matches
priority_class.h
Go to the documentation of this file.
1
5#pragma once
7#if !defined(__XTD_CORE_NATIVE_LIBRARY__)
8#error "Do not include this file: Internal use only"
9#endif
11
12#include <cstdint>
13
14#if !defined(NORMAL_PRIORITY_CLASS)
21constexpr int32_t NORMAL_PRIORITY_CLASS = 0x00000020;
28constexpr int32_t IDLE_PRIORITY_CLASS = 0x00000040;
35constexpr int32_t HIGH_PRIORITY_CLASS = 0x00000080;
42constexpr int32_t REALTIME_PRIORITY_CLASS = 0x00000100;
49constexpr int32_t BELOW_NORMAL_PRIORITY_CLASS = 0x00004000;
56constexpr int32_t ABOVE_NORMAL_PRIORITY_CLASS = 0x00008000;
57#endif
constexpr int32_t IDLE_PRIORITY_CLASS
Process whose threads run only when the system is idle and are preempted by the threads of any proces...
Definition priority_class.h:28
constexpr int32_t BELOW_NORMAL_PRIORITY_CLASS
Process that has priority above IDLE_PRIORITY_CLASS but below NORMAL_PRIORITY_CLASS.
Definition priority_class.h:49
constexpr int32_t NORMAL_PRIORITY_CLASS
Process with no special scheduling needs.
Definition priority_class.h:21
constexpr int32_t HIGH_PRIORITY_CLASS
Process that performs time-critical tasks that must be executed immediately for it to run correctly....
Definition priority_class.h:35
constexpr int32_t ABOVE_NORMAL_PRIORITY_CLASS
Process that has priority above NORMAL_PRIORITY_CLASS but below HIGH_PRIORITY_CLASS.
Definition priority_class.h:56
constexpr int32_t REALTIME_PRIORITY_CLASS
Process that has the highest possible priority. The threads of a real-time priority class process pre...
Definition priority_class.h:42