diff options
| author | bunnei <bunneidev@gmail.com> | 2022-01-27 12:17:14 -0800 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2022-01-27 12:17:14 -0800 |
| commit | 1b8ed3a76d2502c269d7a1e2451a412ab33e9fe7 (patch) | |
| tree | c042cfa45d8c043371e7e41d16ec619be5ed5803 /src/input_common/drivers/udp_client.cpp | |
| parent | 6c0cc7303f3b6a77ef1e27f1f06aa123cdcf20bb (diff) | |
hle: kernel: KScheduler: Fix deadlock with core waiting for a thread lock that has migrated.
- Previously, it was possible for a thread migration to occur from core A to core B.
- Next, core B waits on a guest lock that must be released by a thread queued for core A.
- Meanwhile, core A is still waiting on the core B's current thread lock - resulting in a deadlock.
- Fix this by try-locking the thread lock.
- Fixes softlocks in FF8 and Pokemon Legends Arceus.
Diffstat (limited to 'src/input_common/drivers/udp_client.cpp')
0 files changed, 0 insertions, 0 deletions
