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

Conversation

Projects
None yet
2 participants
@elad335
Copy link
Contributor

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.

elad335 and others added some commits Jan 25, 2019

@Nekotekina Nekotekina merged commit 587fe42 into RPCS3:master Jan 25, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@elad335 elad335 deleted the elad335:join_state branch Jan 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.