mirror of https://git.suyu.dev/suyu/suyu
Kernel/Mutex: Don't duplicate threads in the mutex waiter list.
Exit from AddMutexWaiter early if the thread is already waiting for a mutex owned by the owner thread. This accounts for the possibility of a thread that is waiting on a condition variable being awakened twice in a row. Also added more validation asserts. This should fix one of the random crashes in Breath Of The Wild.merge-requests/60/head
parent
5926fbd3d7
commit
5224cc49c4
Loading…
Reference in New Issue