Skip to content

Sharing memory between a Windows Wine process and a Linux process doesn't work #108

@skligys

Description

@skligys

It looks to me that is just because on Windows files representing shmem objects go into

C:\Users\<user>\Temp\shared_memory-rs

and on Linux into

/dev/shm

Once I forced the Windows/Wine process to create a file in Z:\\dev\\shm, which in Wine corresponds to Linux's /dev/shm, sharing seems to work fine.

What do you think of a new wine feature where windows.rs get_tmp_dir() would just return Ok(PathBuf::from("Z:\\dev\\shm")) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions