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.
精彩评论