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

Introduce stdatomic.h #80

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

huyang531
Copy link

This PR introduces C11's stdatomic.h header to the MUSL library. This header is fundamental for synchronous applications that require advanced memory ordering constraints.

It is now introduced as part of an ongoing effort to port the mimalloc memory allocator to the latest Unikraft core. @RaduNichita @razvanvirtan @razvand

Signed-off-by: Yang Hu [email protected]

Signed-off-by: Yang Hu <[email protected]>
@StefanJum
Copy link
Member

@huyang531 is this still in a draft state?

@huyang531 huyang531 marked this pull request as ready for review August 21, 2024 00:49
@huyang531
Copy link
Author

@huyang531 is this still in a draft state?

Just marked it ready for review. It works perfectly with mimalloc, but I haven't tested it fully in more complex situations (even mimalloc itself is not fully tested yet), though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants