I was trying to chase down an intermittent bug in one of our programs,
BRAINSTransformConvert.

Without going into my particular issue too much, the problem is that
BSplineDeformableTransform::TransformPoint prints out an warning message
using itkWarningMacro, and the underlying print mechanism --
itk::OutputWindow -- is apparently not thread safe.

I logged a Jira ticket about it and will submit a patch
https://itk.icts.uiowa.edu/jira/secure/EditIssue!default.jspa?id=18327

My question is this: Is it reasonable to expect that itkWarningMacro (and
behind the scenes itk::OutputWindow) be callable from a multithreaded
filter?  If so, could itk::OutputWindow be made thread-safe?

--
Kent Williams [email protected]






________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the 
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and 
may be legally privileged.  If you are not the intended recipient, you are 
hereby notified that any retention, dissemination, distribution, or copying of 
this communication is strictly prohibited.  Please reply to the sender that you 
have received the message in error, then delete it.  Thank you.
________________________________
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers

Reply via email to