Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make main_thread unjoinable #5595

Merged
merged 3 commits into from
Jan 25, 2019
Merged

Make main_thread unjoinable #5595

merged 3 commits into from
Jan 25, 2019

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Jan 25, 2019

  • Make main thread unjoinable.
  • Return error code in sys_ppu_thread_get_join_state. (the library ignores it by default)

Testcase : https://github.com/elad335/myps3tests/tree/master/ppu_tests/Main%20thread%20joinability
The testcase tests the main thread's joinability using sys_ppu_thread_get_join_state and a join from a different thread.
This also tests the error code returned when passing invalid ptr to sys_ppu_thread_get_join_state. (EFAULT is returned in this case, otherwise CELL_OK is returned)
get_join_state call was designed using a direct lv2 call to get the error code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants