summaryrefslogtreecommitdiff
path: root/src/common/algorithm.h
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-08-27 22:04:04 -0400
committerCharles Lombardo <clombardo169@gmail.com>2023-08-30 15:19:23 -0400
commit5445e974e0cf164c3295d9eaa658b9d62fe42019 (patch)
tree1beffa53dc3adc39355e6ea2349e6d908b4f05bc /src/common/algorithm.h
parentb0a96d5216d49395b9b205d0669d071e6bd5647e (diff)
android: Separate emulation states from emulation mutex
Emulation states are repeatedly checked by input and performance stats. During startup and shutdown, this could lead to a long halt on the UI thread because the call to IsRunning will be waiting on the emulation mutex to be unlocked. Using atomics should replace the existing functionality without causing problems.
Diffstat (limited to 'src/common/algorithm.h')
0 files changed, 0 insertions, 0 deletions