Fix TSAN concurrency issue in nr_phy_test

master
Xavier Arteaga 3 years ago committed by Xavier Arteaga
parent 5760080b27
commit 29102423df

@ -89,7 +89,7 @@ private:
srslog::basic_logger& sched_logger; srslog::basic_logger& sched_logger;
bool autofill_sch_bsr = false; bool autofill_sch_bsr = false;
bool wait_preamble = false; bool wait_preamble = false;
bool enable_user_sched = false; std::atomic<bool> enable_user_sched = {false};
std::mutex metrics_mutex; std::mutex metrics_mutex;
metrics_t metrics = {}; metrics_t metrics = {};

Loading…
Cancel
Save