MantisBT - ITK
View Issue Details
0001472ITKpublic2005-01-13 10:512010-10-21 12:45
Jim Miller 
Jim Miller 
lowmajoralways
assignedopen 
 
 
0001472: PCAShapeSignedDistanceFunction not thread safe
PCAShapedSignedDistanceFunction changes the ivar m_Selectors during the call to Evaluate(). If two threads call Evaluate() they m_Selectors could be corrupted or set incorrectly for one of the threads.

m_Selectors is used to cache whether an iterpolating function or extrapolating function needs to be used.
No tags attached.
Issue History
2007-09-18 11:43Luis IbanezNote Added: 0009081
2010-10-21 12:45Hans JohnsonAssigned ToLydia Ng => Jim Miller

Notes
(0009081)
Luis Ibanez   
2007-09-18 11:43   
To be addressed during WA10.

Two potential options:
a) in the filter that use this function, instantiate one per thread
b) fix the functions to make them thread safe.