Y
Hacker News
new
|
ask
|
show
|
jobs
by
dzaima
458 days ago
Volatile stores would fix that issue. But it does mean that it'd be unsafe to lend out mutable references to objects. (maybe you'd need to do volatile loads too, depending on model of volatility)