Address comments

master
Ismael Gomez 5 years ago committed by Xavier Arteaga
parent 71723c315d
commit 7c7c83b9ad

@ -98,7 +98,7 @@ void thread_pool::stop()
/* Now stop all workers */
for (uint32_t i = 0; i < nof_workers; i++) {
if (workers[i]) {
debug_thread("stop(): stoping %d\n", i);
debug_thread("stop(): stopping %d\n", i);
status[i] = STOP;
cvar_worker[i].notify_all();
cvar_queue.notify_all();

@ -90,7 +90,7 @@ void sf_worker::reset()
bool sf_worker::set_cell(uint32_t cc_idx, srslte_cell_t cell_)
{
// std::lock_guard<std::mutex> lock(mutex);
std::lock_guard<std::mutex> lock(mutex);
if (cc_idx < cc_workers.size()) {
if (!cc_workers[cc_idx]->set_cell(cell_)) {

Loading…
Cancel
Save