suyu/src/core/hle
ReinUsesLisp 9b38f4fc55 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.
2020-07-12 21:27:24 -03:00
..
kernel kernel/scheduler: Use std::mutex instead of spin lock 2020-07-12 21:27:24 -03:00
service Merge pull request #4275 from CrazyMax/desired_language 2020-07-12 01:45:08 -04:00
ipc.h common_func: Use std::array for INSERT_PADDING_* macros. 2019-11-03 22:22:41 -05:00
ipc_helpers.h kernel: Implement a more accurate IPC dispatch. 2019-11-28 12:01:53 -05:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h result: Add default error code for the ResultCode(-1) case 2019-11-12 07:55:38 -05:00