Fix TSAN concurrency issue in nr_phy_test

This commit is contained in:
Xavier Arteaga 2022-01-05 14:34:21 +01:00 committed by Xavier Arteaga
parent 5760080b27
commit 29102423df
1 changed files with 1 additions and 1 deletions

View File

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