Every thread is now an rthreads sthread and every atomic goes through retro_atomic, pinned to the GCC __atomic / MSVC Interlocked backends so no translation unit uses std::atomic. The mutexes and condition variables are gone: the software GPU thread drains a retro_spsc command ring and parks on a retro_eventcount; the CD-ROM read thread owns the image and is driven by sequence-numbered seek requests and ops, with readahead published through atomic head/tail counters; renderer pipelines and shaders are published once by compare-exchange; the Vulkan precompile worker builds against its own pipeline cache, merged back after it is joined; and log callbacks and page fault handlers live in a seqlock table the fault handler walks without locking. rthreads, retro_eventcount and retro_spsc are vendored from libretro-common. |
||
|---|---|---|
| .. | ||
| glad | ||
| libchdr | ||
| libretro-common | ||
| openbios | ||
| stb | ||
| vixl | ||
| vulkan-loader | ||
| xbyak | ||
| xxhash | ||
| CMakeLists.txt | ||