X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Flogging.hpp;h=fe05c5439ecf52d30c663614c08948d1c2b9ef53;hp=0be270d488d4506cbc82db3fabbc9cfb81458585;hb=3b5282a20ec134853318b70441b32bf4a91e20c2;hpb=348bae08c18c66974533dde20ba3c426e881f929 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;