[Insight-developers] interrupting filter execution
Paul Koshevoy
koshevoy at sci.utah.edu
Thu Jul 20 11:30:51 EDT 2006
Paul Koshevoy wrote:
> Paul Koshevoy wrote:
>
>
>> void
>> ProgressAccumulator
>> ::ReportProgress(Object *, const EventObject &event)
>> {
>> static SimpleFastMutexLock mutex;
>> {
>> MutexLockHolder<SimpleFastMutexLock> mutexHolder(mutex);
>>
>
> Now that I think of it, this mutex is probably unnecessary. I'll try
> again tomorrow without it.
>
I just tried it -- it works fine without the mutex. The question now is
what should be done with this change -- will it be integrated into the
ITK or will I have to patch ITK every time?
Thank you,
Paul.
More information about the Insight-developers
mailing list