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

Add memory order for atomic_flag_test_and_set and atomic_flag_clear. #6579

Closed
wants to merge 1 commit into from

Conversation

xmcgcg
Copy link
Contributor

@xmcgcg xmcgcg commented Sep 25, 2023

The memory order for atomic_flag_test_and_set and atomic_flag_clear is not specified, it should be memory_order::seq_cst. (atomic_flag_test and atomic_flag_wait specify that)

The memory order for atomic_flag_test_and_set and atomic_flag_clear is missing, it should be memory_order::seq_cst.
@jensmaurer
Copy link
Member

This feels like an LWG issue, not an editorial one.

@jensmaurer jensmaurer added the lwg Issue must be reviewed by LWG. label Sep 25, 2023
@xmcgcg xmcgcg closed this by deleting the head repository Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lwg Issue must be reviewed by LWG.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants