InterProcessLock Multiple Connections


#1

Hi there,

I’m currently having an issue with the InterProcessLock, when using it in DAWs (tested using VST, AAX, AU), and i have multiple instances of the plugin open, they all simultaneously grab the lock. This only happens on Mac; it works fine on Windows.


#2

Are you attempting to use an InterProcessLock to separate threads that are actually in the same process? This is likely to be the case in a DAW unless you’ve specifically opted out of it.

A shared CriticalSection will do the job in those circumstances.