]> sigrok.org Git - pulseview.git/blobdiff - pv/storesession.h
main: Use only the domain, not the whole URL.
[pulseview.git] / pv / storesession.h
index e543df13051eae592a8617a36e93e79f9b2763bc..262eddc1eff3a9ad92afef0d673aa85bcb94d5f2 100644 (file)
 
 #include <stdint.h>
 
+#include <atomic>
+#include <mutex>
 #include <string>
-
-#include <boost/thread.hpp>
+#include <thread>
 
 #include <QObject>
 
@@ -70,11 +71,13 @@ private:
        const std::string _file_name;
        const SigSession &_session;
 
-       boost::thread _thread;
+       std::thread _thread;
+
+       std::atomic<bool> _interrupt;
+
+       std::atomic<uint64_t> _units_stored, _unit_count;
 
-       mutable boost::mutex _mutex;
-       uint64_t _units_stored;
-       uint64_t _unit_count;
+       mutable std::mutex _mutex;
        QString _error;
 };