We thought this was interesting, so I’m sharing it here:
Detailed analysis of spinlock implementation in C++
I think the JUCE one might still be injecting MFENCE instructions unnecessarily.
We thought this was interesting, so I’m sharing it here:
Detailed analysis of spinlock implementation in C++
I think the JUCE one might still be injecting MFENCE instructions unnecessarily.
I think that the related reddit discussion worth the cost also. 
That’s useful thanks!