diff options
| author | 2020-07-12 21:27:24 -0300 | |
|---|---|---|
| committer | 2020-07-12 21:27:24 -0300 | |
| commit | 9b38f4fc55607a92f7e4fee81a2c25c326f602f1 (patch) | |
| tree | 3f5486ca7f48efbba00fe4b2bd1c0e5d2aee8964 /src/common/algorithm.h | |
| parent | Merge pull request #4318 from lioncash/cpp20 (diff) | |
| download | yuzu-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/common/algorithm.h')
0 files changed, 0 insertions, 0 deletions