real SetProcessClass and SetThreadPriority support

Troy Rollo wine at troy.rollo.name
Wed Apr 6 00:36:19 CDT 2005


On Wed, 6 Apr 2005 14:04, Robert Shearman wrote:
> The
> last time a discussion like this came up, we (Wine developers and Cedega
> developers) requested a way of changing a thread's relative priority
> within a process (without affecting the overall CPU time the process
> gets)

This is far from trivial to implement in the kernel - I wouldn't count on it 
happening in anything approaching a reasonable time frame, and I'd bet 
against it being done at all.

If we want to be able to increase the priority of a thread, I suspect that the 
only reasonable way to do so (that stands a chance of being done) will be by 
means of either a helper process that runs as root or a kernel module, and I 
would lean towards the helper process as being the preferable solution.



More information about the wine-devel mailing list