-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add generic Atomic<T> type #8
Draft
taiki-e
wants to merge
2
commits into
main
Choose a base branch
from
generic
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.
Draft
Conversation
This file contains 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
ab2a285
to
da35a39
Compare
taiki-e
commented
Mar 25, 2022
318ea8e
to
bf30a6e
Compare
f4b7e57
to
d876bf3
Compare
06262ed
to
bbfda0a
Compare
This was referenced Sep 12, 2022
bors bot
added a commit
that referenced
this pull request
Sep 12, 2022
38: Add empty portable-atomic-util crate r=taiki-e a=taiki-e This adds an empty crate named `portable-atomic-util`. For now, I'm considering putting the features proposed in #1 (#8) and #37 into this crate, but they may be merged into the main `portable-atomic` crate in the future. Co-authored-by: Taiki Endo <[email protected]>
a4d8248
to
6d90a3d
Compare
c05229d
to
9d65f58
Compare
53c8409
to
378f6cd
Compare
52836df
to
4a9ffc4
Compare
a368389
to
eeb0235
Compare
77c5d0d
to
813bf8f
Compare
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.
Note: this patch currently adds generic atomic type to the main portable-atomic crate, but should be to the portable-atomic-util crate.
Copy
types and support for swap and store on non-Copy
types.NonNull
,NoneZero
, etc.#[derive(Atomicable)]
)#[derive(Atomicable)]
)This should meet the requirements that I said in #1.
Closes #1