@@ -428,8 +425,10 @@ int wakeup_txfh(PHY_VARS_gNB *gNB,gNB_L1_rxtx_proc_t *proc,int frame_tx,int slot
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