summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-07-12 21:27:24 -0300
committerGravatar ReinUsesLisp2020-07-12 21:27:24 -0300
commit9b38f4fc55607a92f7e4fee81a2c25c326f602f1 (patch)
tree3f5486ca7f48efbba00fe4b2bd1c0e5d2aee8964 /src/input_common/sdl/sdl_impl.h
parentMerge pull request #4318 from lioncash/cpp20 (diff)
downloadyuzu-9b38f4fc55607a92f7e4fee81a2c25c326f602f1.tar.gz
yuzu-9b38f4fc55607a92f7e4fee81a2c25c326f602f1.tar.xz
yuzu-9b38f4fc55607a92f7e4fee81a2c25c326f602f1.zip
kernel/scheduler: Use std::mutex instead of spin lock
Profiling shows that this is a highly contested mutex, causing dimishing results compared to a OS lock. std::mutex implementations can spin for a while before falling back to an OS lock. This avoids wasting precious CPU cycles in a no-op.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.h')
0 files changed, 0 insertions, 0 deletions