diff options
| author | bunnei <bunneidev@gmail.com> | 2022-01-14 16:02:57 -0800 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2022-01-14 16:02:57 -0800 |
| commit | fbab3dc01735701a2afcce6317692e9477aa7911 (patch) | |
| tree | 1f665d6c8c44b27558ce5abe3a3b6cc878863131 /src/video_core/buffer_cache | |
| parent | 8fb335ff3f62ec80fcaa0a6c6474b08489047e13 (diff) | |
hle: kernel: Fix service_threads access to be thread safe V2.
- PR #7699 attempted to fix CreateServiceThread and ReleaseServiceThread to be thread safe, but inadvertently introduced a possible dead-lock.
- With this PR, we use a worker thread to manage the service thread list, allowing it only to be accessed by a single thread, and guaranteeing threads will not destroy themselves.
- Fixes a rare crash in Pokemon Sword/Shield, I've now run this game for ~12 hours non-stop and am quite confident this is a good solution for this issue.
Diffstat (limited to 'src/video_core/buffer_cache')
0 files changed, 0 insertions, 0 deletions
