Fix enb worker concurrency

This commit is contained in:
Xavier Arteaga 2021-07-30 13:03:06 +02:00 committed by Xavier Arteaga
parent 43ed5c2ad4
commit f02e07c140
1 changed files with 2 additions and 5 deletions

View File

@ -191,7 +191,7 @@ void txrx::run_thread()
nr_worker->set_context(context);
// NR worker needs to be launched first, phy_common::worker_end expects first the NR worker and the LTE worker.
// Start NR worker processing
worker_com->semaphore.push(nr_worker);
nr_workers->start_worker(nr_worker);
}
@ -206,14 +206,11 @@ void txrx::run_thread()
lte_worker->set_context(context);
// NR worker needs to be launched first, phy_common::worker_end expects first the NR worker and the LTE worker.
// Start LTE worker processing
worker_com->semaphore.push(lte_worker);
lte_workers->start_worker(lte_worker);
}
// Trigger phy worker execution
lte_workers->start_worker(lte_worker);
// Advance stack in time
stack->tti_clock();
}