1
0
Fork 0
forked from suyu/suyu
suyu/src
Lioncash 39483b92b7 kernel/thread: Amend condition within UpdatePriority()
This condition was checking against the nominal thread priority, whereas
the kernel itself checks against the current priority instead. We were
also assigning the nominal priority, when we should be assigning
current_priority, which takes priority inheritance into account.

This can lead to the incorrect priority being assigned to a thread.

Given we recursively update the relevant threads, we don't need to go
through the whole mutex waiter list. This matches what the kernel does
as well (only accessing the first entry within the waiting list).
2019-03-15 23:01:43 -04:00
..
audio_core audio_core/cubeb_sink: Convert _MSC_VER ifdefs to _WIN32 2019-03-09 18:06:23 -05:00
common Merge pull request #2147 from ReinUsesLisp/texture-clean 2019-03-10 17:28:36 -04:00
core kernel/thread: Amend condition within UpdatePriority() 2019-03-15 23:01:43 -04:00
input_common common/math_util: Move contents into the Common namespace 2019-02-27 03:38:39 -05:00
tests kernel: Make the address arbiter instance per-process 2019-03-07 23:27:51 -05:00
video_core Merge pull request #2215 from ReinUsesLisp/samplers 2019-03-12 13:10:53 -04:00
web_service web_service: Remove unnecessary inclusions 2019-03-02 14:58:49 -05:00
yuzu Merge pull request #2196 from DarkLordZach/web-applet-esc 2019-03-07 15:32:32 -05:00
yuzu_cmd yuzu_cmd/config: Replace C casts with static_cast 2019-03-09 03:59:23 -03:00
.clang-format
CMakeLists.txt