Re:Memory Models: A Case for Rethinking Parallel Languages a...
by firethief on Sunday March 03, 2019 @01:42PM
(#19296002)
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.
[ Parent
| on HN ]