Files
Codex 9002f880a9 cheevos: replace mutexes with owner-thread handoffs
Keep client APIs and server responses on one owner thread, using the
libretro-common task queue for HTTP delivery. Run delayed badge prefetch
on that owner with bounded traversal per tick. Document the ownership
contract and remove the client mutex, its call sites and native backends.

Replace the badge-cache spinlock with libretro-common MPSC requests,
atomic surface transfers and deferred reader-safe retirement. Keep keys
immutable across loads and reject stale generations without waiting.

Cover concurrent requests, resets, late uploads, shared-default recovery,
queued client responses, cancellation and destruction. Guard against
reintroducing the removed locks and run sanitizer/portability CI lanes.
2026-11-15 03:12:49 +01:00
..