Fix data race in is_pending_tx_end.

master
faluco 3 years ago committed by faluco
parent f96ee097b4
commit 1e3ba607ce

@ -296,7 +296,7 @@ private:
std::mutex mtch_mutex; std::mutex mtch_mutex;
std::condition_variable mtch_cvar; std::condition_variable mtch_cvar;
bool is_pending_tx_end = false; std::atomic<bool> is_pending_tx_end{false};
srsran::radio_interface_phy* radio_h = nullptr; srsran::radio_interface_phy* radio_h = nullptr;
srslog::basic_logger& logger; srslog::basic_logger& logger;

Loading…
Cancel
Save