proc_ra: fix race detected with TSAN

rar_received is accessed from PHY worker and Stack thread
master
Andre Puschmann 3 years ago
parent 6c82d63aa6
commit e0d9afc342

@ -148,7 +148,7 @@ private:
bool started_by_pdcch = false;
uint32_t rar_grant_nbytes = 0;
bool rar_received = false;
std::atomic<bool> rar_received = {false};
};
} // namespace srsue

Loading…
Cancel
Save