Sebastian Aaltonen on Twitter: "This is how you write a good x64 spinlock: Use two stage construct. Outer test is read. Multiple cores reading same cache line = no contention. Inner =
Good Lock 2019 ready with Android 9.0 Pie support - Android Community