mozilla / audioipc

Cubeb Audio Remoting For Gecko
10 stars 17 forks source link

Use VM-backed anonymous shmem regions on Windows #115

Closed kinetiknz closed 3 years ago

kinetiknz commented 3 years ago

The existing shm.rs attempts to be portable by using the sharedmem crate to create and open shared memory regions in an OS-agnostic way. This requires creating and removing temporary files, which can run into various issues due to interactions with other processes in the filesystem. We've already partially changed that on Linux by using memfd as the first preference, which allows an anonymous mapping to be created without a temporary file.

These changes are intended to address https://bugzilla.mozilla.org/show_bug.cgi?id=1679500

kinetiknz commented 3 years ago

@ChunMinChang review ping