Seqlock-Based Atomic Memory Snapshots
Last time we discussed k-word CAS algorithm and came to the conclusion that seqlock-based atomic snapshots may be used as an alternative in situations when your writes are infrequent and single-writer limitation is acceptable, but you want the reader...
puzpuzpuz.dev5 min read
Aleksander Lantsov
Excellent article, thank you!
Why is the last access to the "version" variable in the reader (right after loadLoadFence) done with acquire semantics (instead of opaque)?