R/W Locks
R/W Locks
Posted Sep 24, 2023 23:45 UTC (Sun) by kmeyer (subscriber, #50720)In reply to: Shrinking shrinker locking overhead by nelhage
Parent article: Shrinking shrinker locking overhead
> On the whole, I've come to believe that reader/writer locks are mostly attractive nuisances and that you should usually be looking for a better option if one is at all available.
Yes, I've come to the same conclusion. If a mutex isn't suitable in some situation, it's rare that a RW-lock is an improvement.
