feat(libkernel): implement POSIX pthread_attr_setsolosched_np #2446

Closed
Aathish-D wants to merge 1 commit from upstream-pr/2446 into main
Aathish-D commented 2026-10-09 21:11:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Aathish-D on 2026-10-09T21:11:33Z.


What

Implement pthread_attr_setsolosched_np_nid_postfix in libkernel POSIX attributes by validating the attribute pointer and delegating to scePthreadAttrSetsolosched. Add test coverage verifying null-pointer error handling and attribute set/get round-tripping.

Tested

Linux (GCC 15 / C++20), tested via guest_pthread_attr CTest suite.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4805912477 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2446). Originally posted by [Aathish-D](https://github.com/Aathish-D) on 2026-10-09T21:11:33Z. --- ### What Implement `pthread_attr_setsolosched_np_nid_postfix` in `libkernel` POSIX attributes by validating the attribute pointer and delegating to `scePthreadAttrSetsolosched`. Add test coverage verifying null-pointer error handling and attribute set/get round-tripping. ### Tested Linux (GCC 15 / C++20), tested via `guest_pthread_attr` CTest suite. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-09 21:17:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T21:17:30Z.


Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6089412980 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2446#issuecomment-6089412980). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-09T21:17:30Z. --- Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!2446
No description provided.