Open skligys opened 2 months ago
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.
Z:\\dev\\shm
What do you think of a new wine feature where windows.rs get_tmp_dir() would just return Ok(PathBuf::from("Z:\\dev\\shm")) ?
wine
windows.rs
get_tmp_dir()
Ok(PathBuf::from("Z:\\dev\\shm"))
Why would I want to do that? My use case:
It looks to me that is just because on Windows files representing shmem objects go into
and on Linux into
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 wherewindows.rs
get_tmp_dir()
would just returnOk(PathBuf::from("Z:\\dev\\shm"))
?