(Mis)using threads

Mike Hearn m.hearn at signal.qinetiq.com
Wed Mar 12 03:32:24 CST 2003


> The Linux scheduler, you mean? Wine doesn't schedule threads on its own,
> Win32 threads are just normal Linux threads. I'm sure we'd have done
> something with the Win32 priorities a long time ago if we thought it
> would work. But Linux doesn't allow a non-root process to increase its
> scheduling priority (and of course people shouldn't run Wine as root),
> so it mostly seemed to just be an exercise in futility, and that's why I
> think nobody has bothered. And I don't expect this to improve...

Is this what the POSIX caps work lets you do, ie assign capabilities with a 
finer degree of control than just root vs non-root.

Anyway, if this guy needs control of priorities for his app to work,
then perhaps he just needs to run Wine as root and implement the
priority switching code. Sucks, but then the whole root vs everybody
else needs rethinking or improving anyway imho.

-- 
Mike Hearn <m.hearn at signal.qinetiq.com>
QinetiQ - Malvern Technology Center




More information about the wine-devel mailing list