mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Fix sys_spu_thread_group_join wait condition
After waiting, thread group cannot be safely accessed Following #5643
This commit is contained in:
parent
9ee2867247
commit
f143035af1
2 changed files with 3 additions and 3 deletions
|
@ -531,6 +531,7 @@ void spu_thread::cpu_stop()
|
|||
// Send exit status directly to the joining thread
|
||||
ppu->gpr[4] = group->join_state;
|
||||
ppu->gpr[5] = group->exit_status;
|
||||
group->join_state.release(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue