[ck] Re: Threading issues? [ck-request@vds.kolivas.org: ck Digest, Vol 3, Issue 16]

Robert Shearman rob at codeweavers.com
Sun Aug 29 04:43:58 CDT 2004


Ove Kaaven wrote:

>søn, 29.08.2004 kl. 04.13 skrev Michael Chang:
>  
>
>Also note that Windows allows a Win32 process to boost its own priority
>all the way to what they call "real time". Only root can do this under
>Linux. I'm not sure if you need administrator privileges to do this
>under Windows (probably not), but since every Windows user runs as
>administrator anyway, it's probably not unlikely that many applications
>expect this ability anyway.
>
As decribed here:
http://www.winntmag.com/Articles/Index.cfm?IssueID=22&ArticleID=302
There are 31 priority levels and only users with Administrator 
privileges can set processes to the highest priorities of 16-31.
I doubt there are programs that require these high priorities, although 
we could find potential targets by printing a message for programs that 
try and set their priority to a high level.

>>>and how wine treats that scheduling (which I also don't).
>>>      
>>>
Wine performs local procedure calls to a server to perform the 
equivalent of Windows syscalls. It does this over Unix domain sockets. 
Processes block while waiting for data from the server.

Rob




More information about the wine-devel mailing list