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
In production systems it turns out readerwriter locks sometimes ends up trying to release locks multiple times. It would help a lot if we could make KeyBundle thread safe without the use of locks.
Activity
rohe commentedon Feb 25, 2022
Agree! I don't have any proposal right now. If I come up with something I'll let you know.
jschlyter commentedon Feb 25, 2022
Reading the code for
KeyBundle
there seems to be some wrong assumptions, e.g. that arrays are copied by value and not reference.rohe commentedon Feb 25, 2022
Agree, should be fixed. You or me ?
jschlyter commentedon Feb 25, 2022
I've started in #110. To remove the locks, we could begin with the read locks.