]> Creatis software - creaImageIO.git/commitdiff
thread bug correction
authorFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Fri, 18 Dec 2009 14:26:19 +0000 (14:26 +0000)
committerFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Fri, 18 Dec 2009 14:26:19 +0000 (14:26 +0000)
src2/creaImageIOMultiThreadImageReader.cpp

index 8a965f549b7d1448e9a456c4b26c9ad115f5484c..94f96a5da2a19266533a805a26b5d15a66cfbb79 100644 (file)
@@ -69,7 +69,7 @@ namespace creaImageIO
     for (int i=0; i<number_of_threads; i++) 
       {
                  //ThreadedImageReader* t = new ThreadedImageReader(this);
-                 boost::shared_ptr<ThreadedImageReader> t(new ThreadedImageReader(this), ThreadedImageReader::deleter());
+                 boost::shared_ptr<ThreadedImageReader> t(new ThreadedImageReader(this));//, ThreadedImageReader::deleter());
        mThreadedImageReaderList.push_back(t);
         std::cout << "  ===> Thread "<<i
                      <<" successfully added"<< std::endl;