mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 08:39:21 +01:00
almost done
This commit is contained in:
@@ -484,10 +484,13 @@ void* postProcessing::processData(int delflag) {
|
||||
else{
|
||||
|
||||
|
||||
|
||||
if(dataReady){
|
||||
startdatathreads();
|
||||
sem_post(&dataThreadStartedSemaphore);
|
||||
}
|
||||
readFrameFromReceiver();
|
||||
|
||||
|
||||
cout<<"exiting from proccessing thread"<<endl;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <sstream>
|
||||
#include <queue>
|
||||
#include <math.h>
|
||||
|
||||
#include <semaphore.h>
|
||||
|
||||
class postProcessingFuncs;
|
||||
|
||||
@@ -334,6 +334,8 @@ s
|
||||
void *pCallbackArg;
|
||||
detectorData *thisData;
|
||||
|
||||
sem_t dataThreadStartedSemaphore;
|
||||
|
||||
private:
|
||||
// double *fdata;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user