ensure gui gets measurement finished after dummy packet received from receiver/ext process

This commit is contained in:
Dhanya Maliakal
2017-11-29 15:22:10 +01:00
parent 397344a264
commit 1edb41242c
3 changed files with 18 additions and 2 deletions

View File

@ -1000,7 +1000,10 @@ virtual int setReceiverSilentMode(int i = -1)=0;
int (*progress_call)(double,void*);
void *pProgressCallArg;
/** semaphore to let postprocessing thread continue for next scan/measurement */
sem_t sem_newRTAcquisition;
/** semaphore to let main thread know it got all the dummy packets (also from ext. process) */
sem_t sem_endRTAcquisition;
};