suyu/src/core/hle
ReinUsesLisp ccdd84a778 hle/scheduler: Fix data race in is_context_switch_pending
As reported by tsan, SelectThreads could write to
is_context_switch_pending holding a mutex while SwitchToCurrent reads it
without holding any.

It is assumed that the author didn't want an atomic here, so the code is
reordered so that whenever is_context_switch_pending is read inside
SwitchToContext, the mutex is locked.
2020-08-26 02:56:05 +00:00
..
kernel hle/scheduler: Fix data race in is_context_switch_pending 2020-08-26 02:56:05 +00:00
service common/fileutil: Convert namespace to Common::FS 2020-08-16 06:52:40 -04:00
ipc.h common_func: Use std::array for INSERT_PADDING_* macros. 2019-11-03 22:22:41 -05:00
ipc_helpers.h ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw() 2020-08-05 14:08:28 -04: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 core: Resolve several -Wextra-semi warnings 2020-08-14 09:09:20 -04:00