X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecoder.h;h=b8608d2cc4290ed712722ba1e677e6383e96fb03;hp=09002ac911153ed06901af6ab1ba3e0927b1f4c7;hb=fe89c96185dba8ccf02b6b3d0994c2e149198c73;hpb=b6b267bba9d55d23fe5c3537e4785238d4377ad7 diff --git a/pv/data/decoder.h b/pv/data/decoder.h index 09002ac9..b8608d2c 100644 --- a/pv/data/decoder.h +++ b/pv/data/decoder.h @@ -96,6 +96,15 @@ signals: void new_decode_data(); private: + + /** + * This mutex prevents more than one decode operation occuring + * concurrently. + * @todo A proper solution should be implemented to allow multiple + * decode operations. + */ + static boost::mutex _global_decode_mutex; + const srd_decoder *const _decoder; std::map > _probes;