-
Notifications
You must be signed in to change notification settings - Fork 27
feat(thread_aware_core): add the stable core crate for thread-aware state #643
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
Open
martintmk
wants to merge
60
commits into
main
Choose a base branch
from
user/martintomka/20260806-stabilize-thread-aware
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
f9b0170
docs(thread_aware): add stabilization notes
martintmk adb372b
docs(thread_aware): clarify pending stabilization choices
martintmk c6f18f2
docs(thread_aware): generalize downstream stabilization note
martintmk 1160b75
feat(thread_aware_core): stabilize core thread-aware API
martintmk 2b0ddaa
merge: integrate origin/main into PR branch (auto-resolved conflicts)
martintmk 3042ac3
test(thread_aware_core): cover memory affinity indices
martintmk ee7c8ae
review(thread_aware_core): remove integration features
martintmk c16acb0
fix(thread_aware): satisfy nightly formatting
martintmk 503f84c
fix(thread_aware): sort manifest dependencies
martintmk a92c001
fix(thread_aware): remove unused dev dependency
martintmk 09e22ff
review(thread_aware_core): restore opt-in std impls
martintmk 2d8c5e8
review: expose stable thread-aware core types directly
martintmk 3b862bf
fix: avoid unused core trait imports
martintmk 75b3d23
fix: match nightly import grouping
martintmk 4e75479
fix: qualify stable trait rustdoc link
martintmk 5446dd0
review(thread_aware): simplify core reexports
martintmk 8822c86
merge: integrate origin/main and update external type allowlists
martintmk 28afb11
fix(deps): upgrade h2 to 0.4.16
martintmk 9339537
review(thread_aware): keep downstream imports on reexports
martintmk f875c84
docs(thread_aware_core): clarify affinity topology helper
martintmk d48b4e8
review(thread_aware): hide affinity construction
martintmk bdf2eeb
feat(thread_aware_core): add experimental affinity2 locality model
martintmk 6244971
merge: integrate origin/main into PR branch (auto-resolved .spelling …
martintmk 24b1e28
affinity3
martintmk 2a062cc
refactor(thread_aware_core): widen affinity3 ids to u32
martintmk f7acb57
refactor(thread_aware_core): move Affinity into its own module
martintmk 3fb86e6
fix(thread_aware): update external-type allowlist for moved Affinity …
martintmk 994804e
refactor(thread_aware_core)!: replace Affinity with Location and id t…
martintmk 64893ff
refactor(thread_aware_core): rename Provenance to Topology
martintmk 96e0d5a
chore(thread_aware_core): start at version 0.1.0
martintmk a9dcee3
improve docs and impl
martintmk 5266c14
feat(thread_aware_core): support NonZero integers
martintmk 12e0b1d
docs(thread_aware_core): clarify ThreadAware purpose, roles and contract
martintmk 988365a
docs(thread_aware_core): simplify and shorten the documentation
martintmk bafcaa6
feat(thread_aware_core)!: replace Location with Place
martintmk 2e7ad69
refactor(thread_aware_core)!: rename Numa to NumaNode
martintmk 1379467
refactor(thread_aware_core): make the crate stand alone
martintmk 46d7938
cleanup
martintmk dd3f6d1
refactor(thread_aware_core): move ThreadAware into its own module
martintmk 031d738
cleanup
martintmk 25e79fb
merge: integrate origin/main into the PR branch
martintmk 348a088
fix(thread_aware_core): address approved review feedback
martintmk 863e9cd
fix(thread_aware_core): use doc_auto_cfg for feature annotations
martintmk c975d69
fix(thread_aware_core): compile std paths in default test builds
martintmk f8ddf87
docs(thread_aware_core): write the design document
martintmk a6874cd
refactor(thread_aware_core)!: build ids with `new`, not `From<u16>`
martintmk 54a4a5f
refactor(thread_aware_core): drop the negative `From` assertions
martintmk d433d13
refactor(thread_aware_core)!: rename `Origin` to `Owner`
martintmk 2bfe77b
refactor(thread_aware_core)!: rename `Place` to `Thread`
martintmk 5f0ea61
docs(thread_aware_core): distinguish `Thread` from `std::thread::Thread`
martintmk a8cbd90
docs(thread_aware_core): show the library-author role with a derive
martintmk c541719
docs(thread_aware_core): trim the derive example to the derive
martintmk b142d3f
docs(thread_aware_core): link `thread_aware` to docs.rs, restructure …
martintmk 604e252
docs(thread_aware_core): flatten the role sections, trim features
martintmk 8124eae
feat(thread_aware_core)!: assign `Owner` identity and record `min_thr…
martintmk 560a991
test(thread_aware_core): kill the surviving `Owner::hash` mutant
martintmk b074257
Merge origin/main into user/martintomka/20260806-stabilize-thread-aware
martintmk 197bd04
test(thread_aware_core): pin the 1-tuple arm of the transfer macro
martintmk d5c5e53
refactor(thread_aware_core): address review of the impl macros and ac…
martintmk 1e279ef
refactor(thread_aware_core)!: drop `Copy` from `Owner`, lend it from …
martintmk 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
Some comments aren't visible on the classic Files Changed page.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # Changelog |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # Copyright (c) Microsoft Corporation. | ||
| # Licensed under the MIT License. | ||
|
|
||
| [package] | ||
| name = "thread_aware_core" | ||
| description = "Stable core traits and types for thread-aware state." | ||
| version = "0.1.0" | ||
| readme = "README.md" | ||
| keywords = ["oxidizer", "thread", "aware"] | ||
| categories = ["data-structures", "no-std"] | ||
|
|
||
| edition = { workspace = true } | ||
| rust-version = { workspace = true } | ||
| authors = { workspace = true } | ||
| license = { workspace = true } | ||
| homepage = { workspace = true } | ||
| include = { workspace = true } | ||
| repository = "https://github.com/microsoft/oxidizer/tree/main/crates/thread_aware_core" | ||
|
|
||
| [package.metadata.docs.rs] | ||
| all-features = true | ||
|
|
||
| [features] | ||
| default = ["std"] | ||
| std = [] | ||
|
|
||
| [dev-dependencies] | ||
| static_assertions = { workspace = true } | ||
|
|
||
| [[example]] | ||
| name = "relocation" | ||
| required-features = ["std"] | ||
|
|
||
| # >>> anvil-managed: anvil-lints | ||
| [lints] | ||
| workspace = true | ||
| # <<< anvil-managed: anvil-lints | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.