[Insight-developers] Re: LightObject race condition fix
kent williams
norman-k-williams at uiowa.edu
Tue Aug 7 10:09:44 EDT 2007
There's the real issue -- some effort goes into encouraging ITK code to
never use a bare pointer. Two threads can even share a reference to a smart
pointer -- provided they use locks around code modifying the object pointed
to.
But raw pointers are pretty much a menace, and I've never been clear why
some ITK code uses them as parameters...
On 8/7/07 5:28 AM, "Peter Cech" <pcech at vision.ee.ethz.ch> wrote:
>
> It is doable if you do not allow to obtain raw pointer to LightObject.
More information about the Insight-developers
mailing list