4 ms·
You didn’t describe any data races. What Rust prevents is very specific.
by dontlaugh 1y ago
You didn’t describe any data races.
What Rust prevents is very specific.
- int_19h 1y agoOP described situations where you get observable invariant violations because of torn non-atomic writes. This is basically any case involving e.g. copying of variables that are larger than whatever's atomic for a given architecture. Say, a struct of 4 isize.