Commit 08c230de authored by Eurecom's avatar Eurecom

bug fix for RXTX same thread

parent a8083a51
...@@ -194,6 +194,9 @@ static inline int rxtx(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc, char *thread_nam ...@@ -194,6 +194,9 @@ static inline int rxtx(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc, char *thread_nam
pthread_mutex_lock(&eNB->proc.ru_proc->mutex_eNBs); pthread_mutex_lock(&eNB->proc.ru_proc->mutex_eNBs);
++eNB->proc.ru_proc->instance_cnt_eNBs; ++eNB->proc.ru_proc->instance_cnt_eNBs;
eNB->proc.ru_proc->timestamp_tx = proc->timestamp_tx;
eNB->proc.ru_proc->subframe_tx = proc->subframe_tx;
eNB->proc.ru_proc->frame_tx = proc->frame_tx;
pthread_cond_signal(&eNB->proc.ru_proc->cond_eNBs); pthread_cond_signal(&eNB->proc.ru_proc->cond_eNBs);
pthread_mutex_unlock(&eNB->proc.ru_proc->mutex_eNBs); pthread_mutex_unlock(&eNB->proc.ru_proc->mutex_eNBs);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment