mirror of https://github.com/PentHertz/srsLTE.git
proc_ra: fix race detected with TSAN
rar_received is accessed from PHY worker and Stack thread
This commit is contained in:
parent
6c82d63aa6
commit
e0d9afc342
|
@ -146,9 +146,9 @@ private:
|
|||
std::atomic<uint64_t> transmitted_contention_id = {0};
|
||||
std::atomic<uint16_t> transmitted_crnti = {0};
|
||||
|
||||
bool started_by_pdcch = false;
|
||||
uint32_t rar_grant_nbytes = 0;
|
||||
bool rar_received = false;
|
||||
bool started_by_pdcch = false;
|
||||
uint32_t rar_grant_nbytes = 0;
|
||||
std::atomic<bool> rar_received = {false};
|
||||
};
|
||||
|
||||
} // namespace srsue
|
||||
|
|
Loading…
Reference in New Issue