Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSet an atomic "mutably borrowed" flag on each flow in parallel layout #2222
Labels
Comments
|
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
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.