Hacker News new | ask | show | jobs
by iknowstuff 834 days ago
So it doesn't use a shared lock when .read() is used?
1 comments

Rust has both Mutex and RWLock. The Mutex only uses exclusive locks, there's no distinction between "read" and "write".
Oh sorry my morning brain thought the comment was all about RWLock