Skip to content
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

<atomic>: improve code documentation #3406

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

AlexGuteniev
Copy link
Contributor

 * `_ATOMIC_LOAD_VERIFY_MEMORY_ORDER` is not a good name, as it is an
optional  memory barrier, not just a debug check
 * move "these macros are _not_ always safe" above all unsafe macros
 * preprocessor block comment as discussed in microsoft#351
@AlexGuteniev AlexGuteniev requested a review from a team as a code owner February 11, 2023 15:34
@StephanTLavavej StephanTLavavej added the documentation Related to documentation or comments label Feb 11, 2023
@StephanTLavavej

This comment was marked as resolved.

stl/inc/atomic Show resolved Hide resolved
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej added the blocked Something is preventing work on this label Feb 17, 2023
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej removed the blocked Something is preventing work on this label Feb 28, 2023
@StephanTLavavej
Copy link
Member

I think these are all improvements, thanks!

@StephanTLavavej StephanTLavavej self-assigned this Mar 2, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 8be719c into microsoft:main Mar 3, 2023
@StephanTLavavej
Copy link
Member

☢️ ⚛️ 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Related to documentation or comments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants