Hello JUCE team,
Would it be possible (and reasonable) to add an optional CriticalSection for the AudioProcessorValueTreeState class?
I have implemented a StateManager around the ValueTree, which uses it (the VT) alongside the AudioProcessorValueTreeState. But my StateManager can have multiple StateAccessors (some lock-free and others not) for different threads reading-from or writing-to the state. I would like to be able to synchronise the access to the ValueTree through a mutex, instead of always queueing and executing edits on the Message Thread, so APVTS accesses and mine don’t collide.