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

CoreLocal is not interrupt safe #961

Open
jounathaen opened this issue Oct 20, 2023 · 0 comments
Open

CoreLocal is not interrupt safe #961

jounathaen opened this issue Oct 20, 2023 · 0 comments

Comments

@jounathaen
Copy link
Member

Probably a rare edge-case, but the new CoreLocal design around a Cell is not perfectly sound, as it is possible to call get multiple times. This gives an opportunity for races, as accesses to the cell are not atomic and an modifications of the contained value could be interrupted.

It is probably sufficient to replace it with an interrupt safe version.

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