Re:Concurrency in Rust
by gsjs on Sunday March 27, 2016 @05:29PM
(#11371637)
I don't think there's a data race there, but the compiler can't check that. What the compiler sees is more than one thread accessing the variable `data`, which could cause a data race.
[ Parent
| on HN ]
There are no comments on this comment yet.