Describe your changes
Fixed a bug where ReadWriteMutex::tryUpgradeToWrite() did not properly set the write-lock owner, so unlockWrite() operations were asserting. Refined an existing assert to be easier to understand.
Testing performed
Added additional unit tests to verify this case.
Describe your changes Fixed a bug where ReadWriteMutex::tryUpgradeToWrite() did not properly set the write-lock owner, so unlockWrite() operations were asserting. Refined an existing assert to be easier to understand.
Testing performed Added additional unit tests to verify this case.