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

Forks break assumptions for 'convergent' imports #1

Open
povik opened this issue Jan 3, 2024 · 0 comments
Open

Forks break assumptions for 'convergent' imports #1

povik opened this issue Jan 3, 2024 · 0 comments

Comments

@povik
Copy link
Owner

povik commented Jan 3, 2024

The convergent import of mutable variables (implemented with VarImplMutable._attempt_simple_import) is based on the assumption that for any pair of nodes in the universal cover of the immutlinks graph, either there is a mutlinks path from one node to the other, or the ordering of the two nodes is undefined (and we are free to do anything in forwarding of mutable variables between the two nodes). This assumption breaks with execution forks, since nodes in the two threads of execution downstream of the fork don't have the property vis-a-vis each other.

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