1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2026-06-05 12:12:17 +00:00

Fix data race condition

This commit is contained in:
Carles Fernandez
2023-11-28 12:26:13 +01:00
parent 73100a7b64
commit 346cd8f9ac
+1
View File
@@ -491,6 +491,7 @@ int GNSSFlowgraph::connect_desktop_flowgraph()
}
// Activate acquisition in enabled channels
std::lock_guard<std::mutex> lock(signal_list_mutex_);
for (int i = 0; i < channels_count_; i++)
{
LOG(INFO) << "Channel " << i << " assigned to " << channels_.at(i)->get_signal();