Skip to content

<atomic>: improve code documentation - #3406

Merged
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
AlexGuteniev:load_barrier
Mar 3, 2023
Merged

<atomic>: improve code documentation#3406
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
AlexGuteniev:load_barrier

Conversation

@AlexGuteniev

Copy link
Copy Markdown
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
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added the documentation Related to documentation or comments label Feb 11, 2023
@StephanTLavavej

This comment was marked as resolved.

Comment thread stl/inc/atomic
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej Stephan T. Lavavej (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 Stephan T. Lavavej (StephanTLavavej) removed the blocked Something is preventing work on this label Feb 28, 2023
@StephanTLavavej

Copy link
Copy Markdown
Member

I think these are all improvements, thanks!

@StephanTLavavej

Copy link
Copy Markdown
Member

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

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 8be719c into microsoft:main Mar 3, 2023
@StephanTLavavej

Copy link
Copy Markdown
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