check for why gui doesnt show all data

This commit is contained in:
Dhanya Maliakal 2016-10-25 16:45:52 +02:00
parent fde7d2359c
commit 64094be4e3

View File

@ -495,8 +495,11 @@ void* postProcessing::processData(int delflag) {
while(true){
cout.flush();
cout<<flush;
usleep(20000); //20ms need this else connecting error to receiver (too fast)
usleep(40000); //20ms need this else connecting error to receiver (too fast)
if (checkJoinThread()){
break;
}
//get progress
if(setReceiverOnline() == ONLINE_FLAG){
pthread_mutex_lock(&mg);