mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Implement thread_ctrl::wait_on (see #9208)
This commit is contained in:
parent
f81674232e
commit
12e1be2626
2 changed files with 18 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ void _sys_ppu_thread_exit(ppu_thread& ppu, u64 errorcode)
|
|||
if (old_status == ppu_join_status::joinable)
|
||||
{
|
||||
// Wait for termination
|
||||
ppu.joiner.wait(ppu_join_status::zombie);
|
||||
thread_ctrl::wait_on(ppu.joiner, ppu_join_status::zombie);
|
||||
}
|
||||
|
||||
ppu_thread_exit(ppu);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue