X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Flogging.hpp;h=fe05c5439ecf52d30c663614c08948d1c2b9ef53;hp=0be270d488d4506cbc82db3fabbc9cfb81458585;hb=23a923e31af4fde0bc7f2993ac8a3b08fe229f46;hpb=e4cc0ee6270eb4d388a169438f58aa481f705261 diff --git a/pv/logging.hpp b/pv/logging.hpp index 0be270d4..fe05c543 100644 --- a/pv/logging.hpp +++ b/pv/logging.hpp @@ -22,11 +22,15 @@ #include "globalsettings.hpp" +#include + #include #include #include #include +using std::mutex; + namespace pv { class Logging : public QObject, public GlobalSettingsInterface @@ -70,6 +74,7 @@ Q_SIGNALS: private: int buffer_size_; QStringList buffer_; + mutable mutex log_mutex_; }; extern Logging logging;