Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
anonymousDan
3y ago
0 comments
Save
Share
I meant inserting barriers (read fence/write fence etc) explicitly. Thanks for the link, very interesting.
0 comments
1 comments · 1 top-level
top
newest
oldest
jamesmunns
3y ago
Yep, we have `fence` for runtime+compile time barriers, and `compiler_fence` for compile time barriers. They take the same Ordering enum as atomics.
j
/
k
navigate · click thread line to collapse