Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
spinlocker
4y ago
0 comments
Save
Share
Looks like in C++ memory_order_acq_rel is treated like memory_order_acquire when it's a load and memory_order_release when it's a store. I would argue that this isn't really a difference in memory model but a difference in API.
0 comments
1 comments · 1 top-level
top
newest
oldest
raphlinus
4y ago
I agree. Sorry for the misdirection - the panic is something I observed when I was experimenting with it, and I misinterpreted it.
j
/
k
navigate · click thread line to collapse