C# 设置进程优先级的方法
this.process1= Process.GetCurrentProcess();
process1.PriorityClass = ProcessPriorityClass.High;
C#设置线程优先级的方法
Thread.CurrentThread.Priority = ThreadPriority.Highest;
时间: 2024-10-10 13:00:22
C# 设置进程优先级的方法
this.process1= Process.GetCurrentProcess();
process1.PriorityClass = ProcessPriorityClass.High;
C#设置线程优先级的方法
Thread.CurrentThread.Priority = ThreadPriority.Highest;