ivan wrote: ↑Wed Mar 31, 2021 5:08 pm
should be available in love.filesystem by default
Agreed.
I got this lib that could provide file locking (on physical filesystems), but I'm hesitant to add those big platform-specific calls that go beyond basic POSIX and the occasional Windows support because of the amount of code, testing, and possible maintenance that is required. Maybe I'll reconsider my stance on this.
The bind call is just giving the socket a name, it isn't yet listening or connecting to something else. So that would make it work like a cross-platform global mutex.