You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looking at these two lines of code is very frightening.
Is there a specific reason to use RWLock instead of RwLock? I would open a PR with either using RwLock or a comment describing why RWLock is needed here.
Activity
Lonami commentedon May 6, 2019
Just another thought, isn't the naming itself a bit dangerous?
RWvs.Rwseems like an easy typo to make. Perhaps renamingRWasRawRwcould help?sfackler commentedon May 6, 2019
RwLockcan't be statically initialized, or at least couldn't be when that code was written. That'll change once the parking_lot PR lands.hellow554 commentedon May 25, 2021
Hey @sfackler
has the parking_lot PR already landed? Can you maybe tell the PR number? I would like to give it a shot to clean this up.
mati865 commentedon May 25, 2021
It was not merged: #56410 (comment)
hellow554 commentedon May 25, 2021
I will close this issue as I don't see that this can and will be addressed any time soon. Thank you for your answer mati :)