moench receiver works most of the time

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@512 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-04-12 15:51:33 +00:00
parent 27c91c36ff
commit c9cef8c12f
2 changed files with 15 additions and 16 deletions

View File

@ -415,7 +415,7 @@ void* postProcessing::processData(int delflag) {
while(1){
cout.flush();
cout<<flush;
if (checkJoinThread()) break;
//if (checkJoinThread()) break;
usleep(200000);
pthread_mutex_lock(&mg);
@ -432,8 +432,8 @@ void* postProcessing::processData(int delflag) {
int* receiverData = readFrameFromReceiver(currentfName,currentfIndex);
pthread_mutex_unlock(&mg);
if(!receiverData){
cout<<"****Detector returned NULL***"<<endl;
if(receiverData == NULL){
cout<<"****Detector Data returned is NULL***"<<endl;
return 0;
}