event-counts

Tag

Cards List
#event-counts

Preemption is GC for memory reordering (2019)

Hacker News Top · 2026-07-08 Cached

A 2019 blog post argues that preemption (interrupts) can be used as a pre-paid barrier for memory ordering in lock-free programming, similar to how garbage collection is a sunk cost, and demonstrates implementations for event counts and asymmetric flag flips on Linux/x86.

0 favorites 0 likes
← Back to home

Submit Feedback