threadpool is initialized

This commit is contained in:
bergamaschi 2016-03-21 14:38:38 +01:00
parent be93613ac8
commit 038f45edfd

View File

@ -266,7 +266,7 @@ multiSlsDetector::multiSlsDetector(int id) : slsDetectorUtils(), shmId(-1)
getNMods();
getMaxMods();
threadpool = 0;
if(createThreadPool() == FAIL)
exit(-1);