[*] i think the spinlock was incomplete. not sure how to tune this yet
This commit is contained in:
parent
749b8deb8d
commit
86ea34c7b1
@ -20,6 +20,8 @@ namespace Aurora::Threading::Primitives
|
||||
#endif
|
||||
loops -= 1;
|
||||
}
|
||||
count++;
|
||||
if (count >= 15) count = 0;
|
||||
}
|
||||
|
||||
SpinLock::SpinLock()
|
||||
|
Loading…
Reference in New Issue
Block a user