solved segmentation fault on may frames, printing progress during acquisition

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@144 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-03-16 12:25:45 +00:00
parent 97a0d06618
commit d8d08d5a9b
4 changed files with 60 additions and 67 deletions

View File

@ -3080,8 +3080,8 @@ int* slsDetector::readAll(){
i++;
#ifdef VERBOSE
std::cout<< i << std::endl;
#else
std::cout << "-" << flush ;
//#else
//std::cout << "-" << flush ;
#endif
dataQueue.push(retval);
}
@ -3141,8 +3141,8 @@ int* slsDetector::startAndReadAll(){
i++;
#ifdef VERBOSE
std::cout<< i << std::endl;
#else
std::cout<< "-" << flush;
//#else
//std::cout<< "-" << flush;
#endif
dataQueue.push(retval);
}