Unverified Commit 7e725679 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Make InferWidths thread safe (#1775) (#1779)



Force a synchronization point on InferWidths.run due to get a lock on
the mutable constraint solver. This prevents a rare threading issue
where the same compiler is run multiple times in parallel.

This is a backport of #1775 using a different technique that is binary
compatible with the 1.3.x.

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>

Co-authored-by: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent ef85374c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment