InterProcessLock doesn't stop same process from entering twice

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?

1 Like

You probably need to acquire a lock on something like a named binary semaphore before the InterProcessLock.