[*] i think the spinlock was incomplete. not sure how to tune this yet

This commit is contained in:
Reece Wilson 2022-02-18 19:12:46 +00:00
parent 749b8deb8d
commit 86ea34c7b1

View File

@ -20,6 +20,8 @@ namespace Aurora::Threading::Primitives
#endif
loops -= 1;
}
count++;
if (count >= 15) count = 0;
}
SpinLock::SpinLock()