Hacker News new | ask | show | jobs
by anonymousDan 1227 days ago
I meant inserting barriers (read fence/write fence etc) explicitly. Thanks for the link, very interesting.
1 comments

Yep, we have `fence` for runtime+compile time barriers, and `compiler_fence` for compile time barriers. They take the same Ordering enum as atomics.