Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Add documentation for atomic_ref #257

Merged
merged 10 commits into from
Nov 29, 2022
Merged

Add documentation for atomic_ref #257

merged 10 commits into from
Nov 29, 2022

Conversation

wmaxey
Copy link
Member

@wmaxey wmaxey commented Mar 15, 2022

No description provided.

@wmaxey wmaxey requested a review from griwes March 15, 2022 23:39
Copy link
Collaborator

@griwes griwes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing a very important thing: nowhere in here do we say whether it is legal or not for multiple atomic_ref objects of different scopes pointing to the same object to exist at the same time. We must be explicit on this, and I believe that we must forbid this, in case our handling of padding bits becomes "we zero them in a constructor of atomic_ref" (since that needs to occur atomically).

@wmaxey wmaxey force-pushed the docs/atomic_ref branch 2 times, most recently from f72e6c2 to 9487989 Compare May 3, 2022 07:02
@wmaxey wmaxey force-pushed the docs/atomic_ref branch from 9487989 to 34041a4 Compare May 3, 2022 07:07
@wmaxey wmaxey requested a review from griwes May 12, 2022 19:30
@wmaxey wmaxey mentioned this pull request Aug 8, 2022
@jrhemstad jrhemstad linked an issue Aug 13, 2022 that may be closed by this pull request
@wmaxey wmaxey requested a review from gonzalobg October 6, 2022 15:43
Copy link
Collaborator

@gonzalobg gonzalobg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Wesley, I've left some comments.

Copy link
Member Author

@wmaxey wmaxey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final touches

Copy link
Member Author

@wmaxey wmaxey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final touches.

@wmaxey wmaxey merged commit 3fdea17 into main Nov 29, 2022
@wmaxey wmaxey deleted the docs/atomic_ref branch November 29, 2022 15:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Need docs for atomic_ref
5 participants