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
|
@ -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…
Reference in New Issue