Subv 5224cc49c4 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.
2018-08-12 16:35:27 -05:00
..
2018-08-11 20:20:21 -04:00
2018-08-07 19:34:12 -04:00
2018-07-22 15:55:17 +01:00
2018-08-11 20:20:21 -04:00
2018-08-11 20:20:21 -04:00