Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
firethief
· 7y ago · 0 comments
Imagine implementing a simple spinlock, but then substituting relaxed atomics for acquire/release synchronization. The compiler can reorder taking the lock relative to the protected operations and render the lock useless.
Comments
[–]
twtw
7y ago
Thanks!