Skip to content

langref: fixes incorrect description of cmpxchg functions#21755

Merged
alexrp merged 1 commit into
ziglang:masterfrom
ityonemo:fix-atomics-description
Jan 26, 2025
Merged

langref: fixes incorrect description of cmpxchg functions#21755
alexrp merged 1 commit into
ziglang:masterfrom
ityonemo:fix-atomics-description

Conversation

@ityonemo
Copy link
Copy Markdown
Contributor

for a few releases now the textual description of cmpxchg has been incorrect; the code example has been correct; null is returned if the exchange successfully happens, not if it failed due to mismatch.

@rohlem
Copy link
Copy Markdown
Contributor

rohlem commented Oct 20, 2024

Seems to be a more minimal alternative to #20411 ; accepting either should resolve the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants