Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
yangl1996
· 6y ago · 0 comments
Rust compiler forbids multiple threads to access the same memory location not protected by a Mutex.
Comments
[–]
hexaga
6y ago
That is, only when said memory location is accessed mutably. Immutable references are perfectly ok to follow concurrently.