ue,nr: Protect pending_cfgs in PHY worker_pool

master
Ismael Gomez 3 years ago
parent b058945142
commit bdbaf7357a

@ -236,9 +236,12 @@ bool worker_pool::set_config(const srsran::phy_cfg_nr_t& new_cfg)
w->release();
// As the worker has been configured, there is no need to load new configuration from the real-time thread
{
std::lock_guard<std::mutex> lock(cfg_mutex);
pending_cfgs[i] = false;
}
}
}
logger.info("Setting new PHY configuration ARFCN=%d, PCI=%d", dl_arfcn, new_cfg.carrier.pci);

Loading…
Cancel
Save