X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdatasnapshot.h;h=2a6651e89ed85df6cd8bd238fb84c46cddd6aecd;hp=9c0866d48f0eb56a382558b7d2d8092d33841d51;hb=7d29656f1e4de945eee3a9ea5dbc0ef88c4a7e30;hpb=6ac96c2e0ef986da9c9ebea50906cb717aa382ba diff --git a/pv/datasnapshot.h b/pv/datasnapshot.h index 9c0866d4..2a6651e8 100644 --- a/pv/datasnapshot.h +++ b/pv/datasnapshot.h @@ -25,6 +25,8 @@ extern "C" { #include } +#include + namespace pv { class DataSnapshot @@ -40,6 +42,7 @@ protected: void append_data(void *data, uint64_t samples); protected: + mutable boost::recursive_mutex _mutex; void *_data; uint64_t _sample_count; int _unit_size;