mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 20:37:15 +02:00
make t crash
This commit is contained in:
@ -496,21 +496,24 @@ void* postProcessing::processData(int delflag) {
|
||||
else{
|
||||
int caught = -1;
|
||||
while(true){
|
||||
//cout.flush();
|
||||
//cout<<flush;
|
||||
|
||||
cout.flush();
|
||||
cout<<flush;
|
||||
usleep(40000); //20ms need this else connecting error to receiver (too fast)
|
||||
|
||||
if (checkJoinThread()){
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
//get progress
|
||||
pthread_mutex_lock(&mg);
|
||||
if(setReceiverOnline() == ONLINE_FLAG){
|
||||
pthread_mutex_lock(&mg);
|
||||
caught = getFramesCaughtByReceiver();
|
||||
pthread_mutex_unlock(&mg);
|
||||
}
|
||||
pthread_mutex_unlock(&mg);
|
||||
|
||||
|
||||
//updating progress
|
||||
if(caught!= -1){
|
||||
setCurrentProgress(caught);
|
||||
@ -521,7 +524,7 @@ void* postProcessing::processData(int delflag) {
|
||||
if (checkJoinThread()){
|
||||
break;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user