Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Make sys_spu_thread_group_join return once per termination #5643
This makes the amount of times sys_spu_thread_group_join returned always be equal to the amount of times sys_spu_thread_group_start was called, and the amount of times a termination signal was signaled.
This also means that when executing a second sys_spu_thread_group_join, it waits until another signal will be received.
Past tests hinted this behavior, although it was unclear if an absolute deadlock occurs on the second sys_spu_thread_group_join execution, or how to exit from this situation.