diff --git a/lib/src/common/thread_pool.cc b/lib/src/common/thread_pool.cc index 88dea1f10..5151349e3 100644 --- a/lib/src/common/thread_pool.cc +++ b/lib/src/common/thread_pool.cc @@ -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(); diff --git a/srsue/src/phy/sf_worker.cc b/srsue/src/phy/sf_worker.cc index d331f4e3d..abe04c5a7 100644 --- a/srsue/src/phy/sf_worker.cc +++ b/srsue/src/phy/sf_worker.cc @@ -90,7 +90,7 @@ void sf_worker::reset() bool sf_worker::set_cell(uint32_t cc_idx, srslte_cell_t cell_) { - // std::lock_guard lock(mutex); + std::lock_guard lock(mutex); if (cc_idx < cc_workers.size()) { if (!cc_workers[cc_idx]->set_cell(cell_)) {