mFrame
載入中...
搜尋中...
無符合項目
ThreadPriority.h
1
7#ifndef MFRAME_A4ED407B_D298_46DA_B209_AEF00726AA6F
8#define MFRAME_A4ED407B_D298_46DA_B209_AEF00726AA6F
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "./../lang/Interface.h"
16
17/* ***************************************************************************************
18 * Namespace
19 */
20namespace mframe::sys {
21 enum struct ThreadPriority : int;
22} // namespace mframe::sys
23
24/* ***************************************************************************************
25 * Class/struct/Struct
26 */
27enum struct mframe::sys::ThreadPriority : int {
28 LOW = 8,
29 LOW1 = 8 + 1,
30 LOW2 = 8 + 2,
31 LOW3 = 8 + 3,
32 LOW4 = 8 + 4,
33 LOW5 = 8 + 5,
34 LOW6 = 8 + 6,
35 LOW7 = 8 + 7,
36 BELOW_NORMAL = 16,
37 BELOW_NORMAL1 = 16 + 1,
38 BELOW_NORMAL2 = 16 + 2,
39 BELOW_NORMAL3 = 16 + 3,
40 BELOW_NORMAL4 = 16 + 4,
41 BELOW_NORMAL5 = 16 + 5,
42 BELOW_NORMAL6 = 16 + 6,
43 BELOW_NORMAL7 = 16 + 7,
44 NORMAL = 24,
45 NORMAL1 = 24 + 1,
46 NORMAL2 = 24 + 2,
47 NORMAL3 = 24 + 3,
48 NORMAL4 = 24 + 4,
49 NORMAL5 = 24 + 5,
50 NORMAL6 = 24 + 6,
51 NORMAL7 = 24 + 7,
52 ABOVE_NORMAL = 32,
53 ABOVE_NORMAL1 = 32 + 1,
54 ABOVE_NORMAL2 = 32 + 2,
55 ABOVE_NORMAL3 = 32 + 3,
56 ABOVE_NORMAL4 = 32 + 4,
57 ABOVE_NORMAL5 = 32 + 5,
58 ABOVE_NORMAL6 = 32 + 6,
59 ABOVE_NORMAL7 = 32 + 7,
60 HIGH = 40,
61 HIGH1 = 40 + 1,
62 HIGH2 = 40 + 2,
63 HIGH3 = 40 + 3,
64 HIGH4 = 40 + 4,
65 HIGH5 = 40 + 5,
66 HIGH6 = 40 + 6,
67 HIGH7 = 40 + 7,
68 REALTIME = 48,
69 REALTIME1 = 48 + 1,
70 REALTIME2 = 48 + 2,
71 REALTIME3 = 48 + 3,
72 REALTIME4 = 48 + 4,
73 REALTIME5 = 48 + 5,
74 REALTIME6 = 48 + 6,
75 REALTIME7 = 48 + 7,
76 ERROR = -1,
77 RESERVED = 0x7FFFFFFF
78};
79
80/* ***************************************************************************************
81 * End of file
82 */
83
84#endif /* MFRAME_A4ED407B_D298_46DA_B209_AEF00726AA6F */
Definition Object.h:27
ThreadPriority
Definition ThreadPriority.h:27
@ LOW3
PRIORITY_: low + 3.
@ REALTIME3
PRIORITY_: realtime + 3.
@ BELOW_NORMAL1
PRIORITY_: below normal + 1.
@ ABOVE_NORMAL2
PRIORITY_: above normal + 2.
@ REALTIME7
PRIORITY_: realtime + 7.
@ NORMAL
PRIORITY_: normal.
@ NORMAL3
PRIORITY_: normal + 3.
@ NORMAL4
PRIORITY_: normal + 4.
@ REALTIME2
PRIORITY_: realtime + 2.
@ HIGH5
PRIORITY_: high + 5.
@ NORMAL5
PRIORITY_: normal + 5.
@ HIGH6
PRIORITY_: high + 6.
@ BELOW_NORMAL3
PRIORITY_: below normal + 3.
@ REALTIME
PRIORITY_: realtime.
@ REALTIME5
PRIORITY_: realtime + 5.
@ LOW5
PRIORITY_: low + 5.
@ ABOVE_NORMAL5
PRIORITY_: above normal + 5.
@ ABOVE_NORMAL1
PRIORITY_: above normal + 1.
@ ABOVE_NORMAL4
PRIORITY_: above normal + 4.
@ BELOW_NORMAL5
PRIORITY_: below normal + 5.
@ NORMAL6
PRIORITY_: normal + 6.
@ HIGH4
PRIORITY_: high + 4.
@ LOW1
PRIORITY_: low + 1.
@ REALTIME1
PRIORITY_: realtime + 1.
@ ABOVE_NORMAL6
PRIORITY_: above normal + 6.
@ LOW7
PRIORITY_: low + 7.
@ REALTIME6
PRIORITY_: realtime + 6.
@ NORMAL1
PRIORITY_: normal + 1.
@ LOW6
PRIORITY_: low + 6.
@ BELOW_NORMAL2
PRIORITY_: below normal + 2.
@ LOW2
PRIORITY_: low + 2.
@ HIGH1
PRIORITY_: high + 1.
@ NORMAL7
PRIORITY_: normal + 7.
@ ABOVE_NORMAL
PRIORITY_: above normal.
@ BELOW_NORMAL7
PRIORITY_: below normal + 7.
@ ABOVE_NORMAL3
PRIORITY_: above normal + 3.
@ HIGH
PRIORITY_: high.
@ ERROR
System cannot determine priority or illegal priority.
@ HIGH3
PRIORITY_: high + 3.
@ BELOW_NORMAL4
PRIORITY_: below normal + 4.
@ NORMAL2
PRIORITY_: normal + 2.
@ REALTIME4
PRIORITY_: realtime + 4.
@ BELOW_NORMAL
PRIORITY_: below normal.
@ LOW4
PRIORITY_: low + 4.
@ HIGH2
PRIORITY_: high + 2.
@ ABOVE_NORMAL7
PRIORITY_: above normal + 7.
@ HIGH7
PRIORITY_: high + 7.
@ BELOW_NORMAL6
PRIORITY_: below normal + 6.