mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-08 05:00:16 +02:00
This solves a problem where sometimes FEX would spin up a new process while FEXMountDaemon was in the process of shutting down. Breaking things on both sides. Now the race conditions are squashed that I could see. Also fixes one race where FEX is starting up and FEXMountDaemon is spinning up. This case is where FEX managed to pull the lock file just before it got deleted. Then sent the FEXMountDaemon a request to be observed. With DGRAM sockets we would fire and forget. Use a STREAM with a ack result so we know we can return.