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

stdlib audit: make gc alarms atomic #11233

Merged
merged 1 commit into from May 2, 2022
Merged

Conversation

Octachron
Copy link
Member

This PR makes the inner state of gc alarms atomic in order to make it possible to delete alarms from any domains.

This is required since without atomics there is no guarantee that write to a reference become visible to other domains after a finite time.

This is required to allow deleting an alarm from any domains.
Copy link
Member

@gasche gasche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clearly correct, approved. Thanks!

@gasche gasche merged commit 57e4d70 into ocaml:trunk May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants