I’m trying to create a lock that’s shared between all instances of my plugin. They could be VST, VST3 or AU all running at the same time, maybe in different processes because of sandboxing.
InterProcessLock will stop plugins from two different processes entering. But how do I share a lock between the VST and VST3 version?