proc_ra: fix race detected with TSAN

rar_received is accessed from PHY worker and Stack thread
This commit is contained in:
Andre Puschmann 2021-07-13 08:53:58 +02:00
parent 6c82d63aa6
commit e0d9afc342
1 changed files with 3 additions and 3 deletions

View File

@ -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