JuliaHomotopyContinuation / HomotopyContinuation.jl

A Julia package for solving systems of polynomials via homotopy continuation.
https://www.JuliaHomotopyContinuation.org
MIT License
181 stars 30 forks source link

Fix another race condition in threaded monodromy solve #438

Closed saschatimme closed 3 years ago

saschatimme commented 3 years ago

Multithreading is hard...

Before, this loop

f = steiner()
for k in 1:50
    monodromy_solve(f, target_solutions_count = 3265, max_loops_no_progress = 2)
end

started at some point to print progress for two computations simultaneously. With these changes I cannot reproduce this anymore.