8 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1093Issue in generating NR PRACH for High Speed case,!1074PBCH test case support for non-zero bchpyload,!918Develop nfapi,!847Nr vcd,!782Oai ubuntu docker,!765Develop integration 2020 week 05
pthread_cond_wait(&proc->cond_RUs,&proc->mutex_RUs_tx);// this unlocks mutex_rxtx while waiting and then locks it again
clock_gettime(CLOCK_REALTIME,&now);
abstime.tv_sec=now.tv_sec;
abstime.tv_nsec=now.tv_nsec+time_ns;
if(abstime.tv_nsec>=1000*1000*1000){
abstime.tv_nsec-=1000*1000*1000;
abstime.tv_sec+=1;
}
if((waitret=pthread_cond_timedwait(&proc->cond_RUs,&proc->mutex_RUs_tx,&abstime))==0)break;// this unlocks mutex_rxtx while waiting and then locks it again