diff --git a/srsue/hdr/phy/phy_common.h b/srsue/hdr/phy/phy_common.h index 88ce146a3..18cc46b7c 100644 --- a/srsue/hdr/phy/phy_common.h +++ b/srsue/hdr/phy/phy_common.h @@ -296,7 +296,7 @@ private: std::mutex mtch_mutex; std::condition_variable mtch_cvar; - bool is_pending_tx_end = false; + std::atomic is_pending_tx_end{false}; srsran::radio_interface_phy* radio_h = nullptr; srslog::basic_logger& logger;