RFC: KUSER_SHARED_DATA update patch to fix bug 29168

Dmitry Timoshkov dmitry at baikal.ru
Mon Apr 2 21:47:22 CDT 2012


Joey Yandle <dragon at dancingdragon.be> wrote:

> > Why do you need to update the data in wineserver and not in the client?
> 
> The problem is that the timer updates need to be extremely precise, or
> they are worse than useless.  So we can either do that in every wine
> process, or do it once in wineserver and share the memory.
> 
> On Windows, the kernel shares this memory with all applications for this
> exact reason.

It's been continously said that any memory sharing scheme between a client
and wineserver won't be accepeted, ever.

> > Consider each wineserver call just an RPC, and leave it alone, server
> > doesn't run anything in the background, and can't magically update timers
> > behind the client's back.
> 
> I certainly agree that wineserver doesn't do this currently, but the
> Windows kernel does, and there's no reason why wineserver can't.

You need to make wineserver multithreaded then, and that idea has been
shot down as well.

-- 
Dmitry.



More information about the wine-devel mailing list