Repository navigation
feat(libkernel): export POSIX pthread_attr_setstack - #1453
Merged
Merged
Conversation
9 tasks done
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
9 tasks done
Collaborator
|
Checked build + full ctest (459/459, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add the missing POSIX
pthread_attr_setstackexport using the existingscePthreadAttrSetstackimplementation. Validate the attribute, stack pointer and 16 KiB minimum before forwarding so invalid arguments return guestEINVALrather than a host exception.Tested
Windows, MinGW-w64, Release build on upstream main
6b573862.guest_pthread_attrpasses, including set/get round-trip and invalid null, uninitialized, destroyed and undersized arguments. The test also retains its existing thread-attribute/thread-creation checks.tools/check_conventions.pyandgit diff --checkpass.The export resolved a missing import during local startup testing with a retail title; no playable-game claim.
The test additions are positioned separately from #1404;
git merge-tree --write-treeconfirms a clean merge with its current head. The relevant test and conventions checks pass after relocating the additions.Checklist
main; no other open PR implements the same functions