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

Replace '__sync' with ' __atomic' #332

Open
V0idk opened this issue Jun 5, 2018 · 0 comments
Open

Replace '__sync' with ' __atomic' #332

V0idk opened this issue Jun 5, 2018 · 0 comments

Comments

@V0idk
Copy link

V0idk commented Jun 5, 2018

https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html

These functions are intended to replace the legacy ‘__sync’ builtins. The main difference is that the memory order that is requested is a parameter to the functions. New code should always use the ‘__atomic’ builtins rather than the ‘__sync’ builtins.

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

No branches or pull requests

1 participant