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

Shallow Write Locks #91

Open
CheaterCodes opened this issue Nov 22, 2022 · 0 comments
Open

Shallow Write Locks #91

CheaterCodes opened this issue Nov 22, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@CheaterCodes
Copy link
Contributor

Currently all locks in Chasm are "deep lock".
However, in most cases, shallow locks would be preferred.

Imagine targeting a single instruction in a method. If a transformation applies a write lock to said instruction, all other transformations are not allow to change anything about it.

However, in most cases the intended behavior will be that noone modifies the location of said instruction. Shallow locks provide that option, allowing other transformations to modify childrens of the target, but not the target itself.

@CheaterCodes CheaterCodes added this to the Chasm Release milestone Dec 30, 2022
@CheaterCodes CheaterCodes added the enhancement New feature or request label Dec 30, 2022
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: Issue
Development

No branches or pull requests

1 participant