mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 01:27:59 +02:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user