Commit 142fa8f4 authored by Cedric Roux's avatar Cedric Roux
Browse files

hotfix: remove code that deadlocks

We have to not call that function here because
it blocks everything if number of proc > 4.
parent 923817d8
...@@ -1781,10 +1781,6 @@ static void* ru_thread( void* param ) { ...@@ -1781,10 +1781,6 @@ static void* ru_thread( void* param ) {
// wakeup all eNB processes waiting for this RU // wakeup all eNB processes waiting for this RU
if (ru->num_eNB>0) wakeup_eNBs(ru); if (ru->num_eNB>0) wakeup_eNBs(ru);
// wait until eNBs are finished subframe RX n and TX n+sf_ahead
if(get_nprocs() > 4)
wait_on_condition(&proc->mutex_eNBs,&proc->cond_eNBs,&proc->instance_cnt_eNBs,"ru_thread");
#ifndef PHY_TX_THREAD #ifndef PHY_TX_THREAD
if(get_nprocs() <= 4){ if(get_nprocs() <= 4){
// do TX front-end processing if needed (precoding and/or IDFTs) // do TX front-end processing if needed (precoding and/or IDFTs)
......
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