Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PriorityBoostEnabledCore

bool System.Diagnostics.ProcessThread.PriorityBoostEnabledCore
getsetprivate

Definition at line 101 of file ProcessThread.cs.

102 {
103 get
104 {
106 if (!global::Interop.Kernel32.GetThreadPriorityBoost(handle, out var disabled))
107 {
108 throw new Win32Exception();
109 }
110 return !disabled;
111 }
112 set
113 {
115 if (!global::Interop.Kernel32.SetThreadPriorityBoost(handle, !value))
116 {
117 throw new Win32Exception();
118 }
119 }
120 }
SafeThreadHandle OpenThreadHandle(int access)