Use mutex when import well paths

A shared data structure (RifWellPathImporter) is used when importing well paths. Add mutex to ensure single use of shared data structure.
This commit is contained in:
Magne Sjaastad committed 2024-08-23 17:07:48 +02:00
1 parent 83443ae2ff
commit 1b509c0384
2 files changed
+4 -1

No files matched your search

@@ -23,6 +23,7 @@
#include "cafDataLoader.h"
#include "cafProgressInfo.h"
#include <QMutex>
#include <QString>
#include <memory>
@@ -42,4 +43,5 @@ public:
private:
std::unique_ptr<RifWellPathImporter> m_wellPathImporter;
QMutex m_mutex;
};