Skip to content

vtkWeakPtr: add a class which holds a weak reference to vtkObjects

Ben Boeckel requested to merge ben.boeckel/vtk:thread-safe-weak-ptr into master

This class is intended to replace vtkWeakPointer which is quite unsafe in the presence of an object existing on multiple threads at once because the setting of each vtkWeakPointer's internal object instance in vtkObject's destructor codepath.


Cc: @brad.king

Merge request reports