Skip to content

Fixed a read-write race condition found by thread sanitizer

Sean McBride requested to merge seanm/vtk:progress-race into master

Previosuly, the checkAbortInterval's was declared outside the vtkSMPTools::For() and so one thread could write to checkAbortInterval while another was reading from it.

My solution was to just make another temporary variable that is inside the vtkSMPTools::For().

Backport: release

Edited by Mathieu Westphal (Kitware)

Merge request reports