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

be/c: use __atomic builtins in atomic wherever possible #1689

Merged
merged 2 commits into from
Jul 11, 2023

Conversation

maxteufel
Copy link
Collaborator

Instead of using a global mutex, use the __atomic builtins provided by GCC and Clang for atomic operations. This change affects integers, boolean values, refs, and the unit type.

Instead of using a global mutex, use the `__atomic` builtins provided by
GCC and Clang for atomic operations. This change affects integers,
boolean values, refs, and the unit type.
@maxteufel maxteufel merged commit 8f54745 into tokiwa-software:main Jul 11, 2023
4 checks passed
@maxteufel maxteufel deleted the atomic-use-builtins branch July 11, 2023 07:33
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.

Use C intrinsics for concur.util.loadFence and concur.util.storeFence Use C intrinsics for concur.atomic
3 participants