Skip to content

Use C11 stdatomics.h - #114

Open
poldy wants to merge 4 commits into
Mercury-Language:masterfrom
poldy:issue_110_rebased
Open

Use C11 stdatomics.h#114
poldy wants to merge 4 commits into
Mercury-Language:masterfrom
poldy:issue_110_rebased

Conversation

@poldy

@poldy poldy commented Feb 13, 2023

Copy link
Copy Markdown
Contributor

This PR should use C11 atomics where supported (I'm particularly interested in clang on arm64 Macs).

I'd consider this a first draft, so feel free to comment.

@barracuda156

Copy link
Copy Markdown

@poldy Please make sure that arch where 8-byte atomics is not supported in hardware get linking to libatomic. Otherwise builds on those (ppc, arm, mips) will be broken.

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.

2 participants