Preemption is GC for memory reordering (2019)
37 points
2 days ago
| 4 comments
| pvk.ca
| HN
gblargg
5 hours ago
[-]
If I understand this correctly, it basically has the second thread wait until the first one experiences a hardware interrupt, which implicitly synchronizes memory. This avoids the first thread from needing any synchronization primitives that would slow it down.
reply
preetham_rangu
4 hours ago
[-]
same trick QSBR uses for lock-free reclamation, just framed at the OS scheduler level instead of userspace
reply
Jweb_Guru
7 hours ago
[-]
Oh boy this is a cool blog post. Encourage everyone to read it.
reply
senderista
6 hours ago
[-]
There are many more cool posts on that blog.
reply
7e22v837278gb1p
9 hours ago
[-]
"GC"?
reply
mwkaufma
8 hours ago
[-]
Garbage collection. It's in the leading paragraph of the article so I can see why it's easy to miss.
reply