-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[libc][sched] Implement CPU_ZERO, CPU_ISSET, CPU_SET macros
#131524
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
365fe47
feat: implement CPU_ZERO[_S] macros
krishna2803 862d702
feat: add entrypoint for __sched_setcpuzero
krishna2803 b0af3f5
feat: implement CPU_SETSIZE and NCPUBITS
krishna2803 4dc2371
feat: implement CPU_SET[_S] macros
krishna2803 a21734f
chore: fix typo `LLVM_LIBC_FUNCTION` -> `LIBC_NAMESPACE_DECL`
krishna2803 dd7f3f6
chore: fix typo: `int` -> `void`
krishna2803 b21ccb3
feat: implement header for sched_macros
krishna2803 597b872
chore: fix fullbuild bugs
krishna2803 96e2378
feat: implement CPU_ISSET[_S] macro and fix CPU_SET[_S] macro
krishna2803 4e33001
chore: fix typo `__NCPUBITS8` -> `__NCPUBITS`
krishna2803 9a6ad67
fix: implicit conversion error
krishna2803 c94712f
chore: add parens
krishna2803 522c669
chore: add nullptr gaurds
krishna2803 9b0d165
chore: add `__support` dependencies in CMakeLists.txt
krishna2803 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Update the cmake dependency of these targets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done! 9b0d165e