2 ms·
Rust has both Mutex and RWLock. The Mutex only uses exclusive locks, there's no distinction between "read" and "write".
by zozbot234 3y ago
Rust 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