[*] NT Win8+ FastPath: Fix missing BSL
This commit is contained in:
parent
0784d9101c
commit
899e505b1e
@ -382,7 +382,7 @@ namespace Aurora::Threading::Primitives
|
||||
while (true)
|
||||
{
|
||||
if (AuAtomicCompareExchange(&this->wlist,
|
||||
expected - uAwoken,
|
||||
(expected - uAwoken) << kShiftCountByBits,
|
||||
original) == original)
|
||||
{
|
||||
InternalLTSWakeAll((void *)&this->wlist);
|
||||
@ -457,10 +457,10 @@ namespace Aurora::Threading::Primitives
|
||||
auto uCount = expected - uAwoken;
|
||||
|
||||
if (AuAtomicCompareExchange(&this->wlist,
|
||||
uCount,
|
||||
uCount << kShiftCountByBits,
|
||||
original) == original)
|
||||
{
|
||||
InternalLTSWakeCount((void *)&this->wlist, uCount);
|
||||
InternalLTSWakeCount((void *)&this->wlist, uAwoken);
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user