开发者

Thread IO priorty settings

开发者 https://www.devze.com 2023-01-22 22:00 出处:网络
Can I set the IO priorty of managed thread? (C# code) 开发者_高级运维Once set, is the IO priority compared between threads within the same process, or cross processes?

Can I set the IO priorty of managed thread? (C# code)

开发者_高级运维

Once set, is the IO priority compared between threads within the same process, or cross processes?

Thanks


There is some info here on how to modify the I/O priority in Windows Vista and Windows Server 2008 (native APIs only, afai can see). That might help you do what you want - exact requirements are not clear from the question.

The thread I referenced here points to a white paper on this topic from Microsoft.


You're looking for the Thread.Priority property.

This is an OS-level property which is compared among all active threads in every process.

0

精彩评论

暂无评论...
验证码 换一张
取 消