Y
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
zozbot234
834 days ago
Rust has both Mutex and RWLock. The Mutex only uses exclusive locks, there's no distinction between "read" and "write".
link
iknowstuff
834 days ago
Oh sorry my morning brain thought the comment was all about RWLock
link