dolphin/Source/Android/jni
JosJuice 003696fd78 Android: Fix race condition when exiting emulation
The main activity loads settings essentially as soon as it
starts, in order to determine which tab to show. If the process
of stopping emulation has not finished at this point, a race
condition may be triggered where two IOS kernels are created
at once due to the emulation thread loading or saving the
SYSCONF while the GUI thread is loading the SYSCONF. To fix
this, we can wait for emulation to fully end before returning.

Because this race condition is hard to reproduce, I have not
been able to test that this actually fixes the race condition,
or even that the cause of the race condition is exactly what I
believe it is. But I am relatively confident.
2020-09-15 19:10:56 +02:00
..
AndroidCommon Android: Expose a proper interface for C++ IniFile class 2020-09-06 13:29:52 +02:00
GameList Android: Some simple Clang-Tidy suggestions 2020-07-22 15:38:45 -04:00
CMakeLists.txt Android: Hook up global settings to the new config system 2020-09-15 19:10:55 +02:00
IniFile.cpp Android: Replace Java INI parser with C++ INI parser 2020-09-06 13:29:56 +02:00
MainAndroid.cpp Android: Fix race condition when exiting emulation 2020-09-15 19:10:56 +02:00
NativeConfig.cpp Android: Show overridden game settings in bold 2020-09-15 19:10:56 +02:00