Files
RetroArch/samples/frontend/gx_devthread
LibretroAdmin 13b28f7568 Wii (libogc): the device thread waits without a lock
Nothing reports an SD card or USB drive coming or going, so the thread
looks once a second. It waited out that second on a condition variable
under a mutex it held the whole time; it now waits on an eventcount,
and stopping it is an atomic flag and a notify that wakes it at once.

samples/frontend/gx_devthread runs the thread against libogc and libfat
stand-ins: a drive put in is mounted, a card taken out unmounted, and a
stop returns at once; a stop that does not wake the thread must fail.
2026-10-31 12:54:53 +01:00
..