rlc_am_lte: add missing mutex to get_status getter

fixws race detected with TSAN
master
Andre Puschmann 4 years ago
parent d51ee722f6
commit b862bbc2e6

@ -1829,6 +1829,7 @@ void rlc_am_lte::rlc_am_lte_rx::reset_status()
bool rlc_am_lte::rlc_am_lte_rx::get_do_status()
{
std::lock_guard<std::mutex> lock(mutex);
return do_status;
}

Loading…
Cancel
Save