mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
sys_spu: Fix spu_thread_group_terminate deadlock
This commit is contained in:
parent
cc150cc2c6
commit
27b28cf6ec
@ -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…
Reference in New Issue
Block a user