要在 C# 中显示线程的优先级,请使用 Priority 属性。
首先,使用 currentThread 属性显示有关线程的信息 -
Thread thread = Thread.CurrentThread;
现在使用 thread.Priority 属性来显示线程的优先级 -
thread.Priority
Thread Priority = Normal
以上就是C#显示线程优先级的程序的详细内容,更多请关注php中文网其它相关文章!
已抢27231个
抢已抢14533个
抢已抢7392个
抢已抢9066个
抢已抢18342个
抢已抢7117个
抢