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

C11 Standard-Based Implementations #234

Open
insertinterestingnamehere opened this issue Feb 7, 2024 · 0 comments
Open

C11 Standard-Based Implementations #234

insertinterestingnamehere opened this issue Feb 7, 2024 · 0 comments

Comments

@insertinterestingnamehere
Copy link
Collaborator

I'd really prefer if we could make our implementations of various synchronization primitives and data structures rely on C11 atomics and some additional architecture property defines instead of referring to the architectures explicitly throughout the code. That would (hopefully) make adding support for novel architectures much easier because we could ask questions like "are 64-bit atomics lock-free?" and "are interleaved atomics of different sizes consistent?" for new architectures and then just set the defines for that instead of trying to hunt through the code for anywhere there might be issues.

This will be easier to address once we've done #233.

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

No branches or pull requests

1 participant