aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/nca.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-07-12 21:27:24 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-12 21:27:24 -0300
commit43e15338e2b2543c3fe8946baf8c654299eb0225 (patch)
tree3f5486ca7f48efbba00fe4b2bd1c0e5d2aee8964 /src/core/loader/nca.cpp
parent04a03446d36c3943cc45b75308cc825ac7820f48 (diff)
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/core/loader/nca.cpp')
0 files changed, 0 insertions, 0 deletions