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

Convert deprecated functions to use modern atomic variable handling #806

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AreaZR
Copy link
Contributor

@AreaZR AreaZR commented Dec 15, 2023

Replaced deprecated atomic functions with the recommended C11 equivalents.

@AreaZR
Copy link
Contributor Author

AreaZR commented Dec 16, 2023

@compnerd Thoughts on this?

@AreaZR AreaZR force-pushed the atomics-2 branch 3 times, most recently from 19c218b to b323122 Compare December 16, 2023 00:04
@compnerd
Copy link
Collaborator

I don't see a good reason for any of the changes in src/allocator.c. Switching the Windows path ... I might want to think a bit more on, but I'm not sure that we should change the non-Windows path.

Replaced deprecated atomic functions with the recommended C11 equivalents.
@AreaZR
Copy link
Contributor Author

AreaZR commented Dec 16, 2023

@compnerd I just unified the paths so we don't have to worry anymore

@AreaZR AreaZR marked this pull request as draft December 16, 2023 16:16
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