This commit is contained in:
Dhanya Maliakal
2016-11-02 14:36:21 +01:00
11 changed files with 239 additions and 33 deletions

View File

@ -268,6 +268,7 @@ multiSlsDetector::multiSlsDetector(int id) : slsDetectorUtils(), shmId(-1)
getNMods();
getMaxMods();
threadStarted = false;
threadpool = 0;
if(createThreadPool() == FAIL)
exit(-1);
@ -4938,6 +4939,7 @@ int multiSlsDetector::getFramesCaughtByReceiver() {
return ret;
}
for (int i=0; i<thisMultiDetector->numberOfDetectors; i++)
if (detectors[i]){
ret1+=detectors[i]->getFramesCaughtByReceiver();