Files
LibretroAdmin 4ac4e8d19b Output: lock-free hand-over queue between the GPU and frontend threads
The GPU thread publishes a picture's description into one of four slots
and the generation naming it into an atomic word; the frontend's thread
claims it with a CAS that sets a taken bit, and the GPU thread reclaims
an untaken target with a CAS on the same word, so exactly one of them
owns it. What is being handed over and what was handed are atomic
tags only the frontend's thread writes, the first before its claim.
No slock on either side.
2026-11-07 15:18:37 +01:00
..
2026-11-05 03:13:53 +01:00