mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-06 04:40:02 +02:00
done
This commit is contained in:
parent
1bade91254
commit
9f28cc686c
@ -5126,9 +5126,9 @@ void multiSlsDetector::startReceivingDataThread(){
|
||||
datavalue--;
|
||||
|
||||
if(!datavalue){
|
||||
//#ifdef VERYVERBOSE
|
||||
#ifdef VERYVERBOSE
|
||||
cprintf(RED,"End of socket for %d\n", ithread);
|
||||
//#endif
|
||||
#endif
|
||||
singleframe[ithread] = NULL;
|
||||
break;
|
||||
}
|
||||
@ -5602,7 +5602,7 @@ int multiSlsDetector::enableDataStreamingFromReceiver(int enable){
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}else enable = threadStarted;
|
||||
int ret=-100, ret1;
|
||||
for (int idet=0; idet<thisMultiDetector->numberOfDetectors; idet++) {
|
||||
if (detectors[idet]) {
|
||||
@ -5616,9 +5616,6 @@ int multiSlsDetector::enableDataStreamingFromReceiver(int enable){
|
||||
}
|
||||
}
|
||||
|
||||
if(enable == -1)
|
||||
return threadStarted;
|
||||
else
|
||||
return (threadStarted & ret);
|
||||
}
|
||||
|
||||
|
@ -481,7 +481,8 @@ void* postProcessing::processData(int delflag) {
|
||||
}
|
||||
}
|
||||
//receiver
|
||||
else{cprintf(RED,"In post processing threads\n");
|
||||
else{
|
||||
//cprintf(RED,"In post processing threads\n");
|
||||
|
||||
|
||||
if(dataReady){
|
||||
@ -517,7 +518,7 @@ void* postProcessing::processData(int delflag) {
|
||||
|
||||
//cout<<"exiting from proccessing thread"<<endl;
|
||||
|
||||
cprintf(RED,"Exiting post processing thread\n");
|
||||
//cprintf(RED,"Exiting post processing thread\n");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user