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

Set an atomic "mutably borrowed" flag on each flow in parallel layout #2222

Open
pcwalton opened this issue Apr 24, 2014 · 1 comment
Open

Set an atomic "mutably borrowed" flag on each flow in parallel layout #2222

pcwalton opened this issue Apr 24, 2014 · 1 comment

Comments

@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Apr 24, 2014

I never expect this borrow flag to be hit in correct code, but it is important for memory safety that this happen. Otherwise, an incorrect flow construction pass could cause memory safety problems, such as iterator invalidation.

@kmcallister
Copy link
Contributor

@kmcallister kmcallister commented May 17, 2015

Would we always check or only in debug builds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.