mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
sys_spu: Fix spu_thread_group_terminate deadlock
This commit is contained in:
parent
cc150cc2c6
commit
27b28cf6ec
1 changed files with 1 additions and 0 deletions
|
@ -1138,6 +1138,7 @@ error_code sys_spu_thread_group_terminate(ppu_thread& ppu, u32 id, s32 value)
|
||||||
lv2_obj::sleep(ppu);
|
lv2_obj::sleep(ppu);
|
||||||
busy_wait(3000);
|
busy_wait(3000);
|
||||||
ppu.check_state();
|
ppu.check_state();
|
||||||
|
ppu.state += cpu_flag::wait;
|
||||||
};
|
};
|
||||||
|
|
||||||
if (auto state = +group->run_state;
|
if (auto state = +group->run_state;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue