mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-11 07:19:09 +01:00
8471ab754d
Constant buffer updates result in a barrage of std::mutex calls that take a lot of time even under no contention (around 5%). Using a custom spinlock in cases like these allows inlining locking code reducing the cost of locks under no contention to almost 0.