mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
replay/segment: std::atomic member variables (#22409)
This commit is contained in:
@@ -56,9 +56,9 @@ protected:
|
||||
void downloadFile(const QString &url);
|
||||
QString localPath(const QUrl &url);
|
||||
|
||||
bool loaded_ = false, valid_ = false;
|
||||
std::atomic<bool> loaded_ = false, valid_ = false;
|
||||
std::atomic<bool> aborting_ = false;
|
||||
int downloading_ = 0;
|
||||
std::atomic<int> downloading_ = 0;
|
||||
int seg_num_ = 0;
|
||||
SegmentFile files_;
|
||||
QString road_cam_path_;
|
||||
|
||||
Reference in New Issue
Block a user