mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 02:07:56 -05:00
Common/Tests: Address Feedback
This commit is contained in:
@ -35,8 +35,9 @@ void thread_pause() {
|
||||
namespace Common {
|
||||
|
||||
void SpinLock::lock() {
|
||||
while (lck.test_and_set(std::memory_order_acquire))
|
||||
while (lck.test_and_set(std::memory_order_acquire)) {
|
||||
thread_pause();
|
||||
}
|
||||
}
|
||||
|
||||
void SpinLock::unlock() {
|
||||
|
Reference in New Issue
Block a user