2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/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
lock.h
result.h core: Resolve several -Wextra-semi warnings 2020-08-14 09:09:20 -04:00