CriticalSection in the Synthesizer class

Yes, I agree. I think those locks should probably be replaced by SpinLocks or removed entirely.

Having that said @fr810 recently posted that that might not be an actual problematic issue: