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

feat: Add support for value freezing to avoid changing shared values #85

Merged
merged 7 commits into from
Nov 14, 2019

Conversation

mitsuhiko
Copy link
Member

@mitsuhiko mitsuhiko commented Nov 13, 2019

This adds support for freezing values (makes them immutable). This should help avoid situations
where code wants to modify shared values in the event struct.

This also adds an internal mutex to the value so we don't crash on concurrent modifications.

@mitsuhiko mitsuhiko merged commit 6a72813 into master Nov 14, 2019
@mitsuhiko mitsuhiko deleted the feature/freezing branch November 14, 2019 10:12
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.

None yet

2 participants