almost done

This commit is contained in:
Dhanya Maliakal
2016-09-15 10:17:16 +02:00
parent 33807b7fac
commit 0f9a841c4a
5 changed files with 44 additions and 18 deletions

View File

@@ -484,10 +484,13 @@ void* postProcessing::processData(int delflag) {
else{
if(dataReady){
startdatathreads();
sem_post(&dataThreadStartedSemaphore);
}
readFrameFromReceiver();
cout<<"exiting from proccessing thread"<<endl;

View File

@@ -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;