Fix sys_spu_thread_group_join wait condition

After waiting, thread group cannot be safely accessed
Following #5643
This commit is contained in:
Nekotekina 2019-02-10 18:22:48 +03:00
parent 9ee2867247
commit f143035af1
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}
}