[*] RWLock: added another SignalManyWriter condition to ensure upgrades never get missed
This commit is contained in:
parent
1ecd46ddbf
commit
935d1b6ab2
@ -423,7 +423,15 @@ namespace Aurora::Threading::Primitives
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if constexpr (bIsWriteRecursionAllowed)
|
||||
{
|
||||
if (AuAtomicLoad(&this->state_) == 1)
|
||||
{
|
||||
this->SignalManyWriter();
|
||||
}
|
||||
}
|
||||
|
||||
if (!bStatusTwo)
|
||||
{
|
||||
while (true)
|
||||
|
Loading…
Reference in New Issue
Block a user