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

State to not require explicit locking? #21

Open
gak opened this issue Mar 23, 2021 · 0 comments
Open

State to not require explicit locking? #21

gak opened this issue Mar 23, 2021 · 0 comments

Comments

@gak
Copy link
Collaborator

gak commented Mar 23, 2021

Because any access to State needs a lock, it might perform badly in the future.

Work out a way to pass around a shared reference, but when reading or writing trigger the locking required. Something that the implementation can do by itself and allow for parallel reads and if needed, exclusive writes, etc.

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