after some debugging at the beamline

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@137 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
x04sa
2012-03-09 14:40:10 +00:00
parent b070938f57
commit 7c07ae5a5a
8 changed files with 75 additions and 76 deletions

View File

@ -1792,16 +1792,22 @@ void* slsDetectorUtils::processData(int delflag) {
}
pthread_mutex_unlock(&mp);
usleep(1000);
}
pthread_mutex_unlock(&mp);
pthread_mutex_lock(&mp);
#ifdef VERBOSE
// cout << "looping on dataque size" << endl;
#endif
}
//pthread_mutex_unlock(&mp);
//pthread_mutex_lock(&mp);
if (jointhread) {
pthread_mutex_unlock(&mp);
if (dataQueue.size()==0)
break;
} else
} else {
#ifdef VERBOSE
// cout << "waiting on jointhread "<< jointhread << " " << (*threadedProcessing) << endl;
#endif
pthread_mutex_unlock(&mp);
}
dum=0;
} // ????????????????????????
return 0;