RFC: KUSER_SHARED_DATA update patch to fix bug 29168

Dmitry Timoshkov dmitry at baikal.ru
Thu Mar 22 00:00:57 CDT 2012


Joey Yandle <dragon at dancingdragon.be> wrote:

> After looking over the code, I think I should just mmap() directly in
> wineserver rather than using MapViewOfFile; I should however still use
> MapViewOfFile in ntdll/thread.c.
> 
> Mr Google tells me that I can get a handle for MapViewOfFile by calling
> CreateFileMapping.  The first arg of that is also a HANDLE, which I
> should be able to get by calling wine_server_fd_to_handle (as is done
> elsewhere in thread.c).
> 
> So I'm going to go ahead and try this now.  If anyone has a issue with
> this approach, please let me know.

It's been explained several times already that any approach to share data
between wineserver and clients is going to be rejected.

-- 
Dmitry.



More information about the wine-devel mailing list