4 ms·
So it doesn't use a shared lock when .read() is used?
by iknowstuff 3y ago
So it doesn't use a shared lock when .read() is used?
- zozbot234 3y agoRust has both Mutex and RWLock. The Mutex only uses exclusive locks, there's no distinction between "read" and "write".
- iknowstuff 3y agoOh sorry my morning brain thought the comment was all about RWLock