X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.cpp;h=5b58761f9c1c3464121299c3c6259a907015a10a;hp=c2ae9116856161a94826db1adeadcfe9366d647b;hb=819f4c25391a9c74d3d2f528d462142d5c4aad4d;hpb=b2474b8dc0bec392d0cbe7cd18d342e3c9e42f63 diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index c2ae9116..5b58761f 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -35,8 +35,13 @@ #include #include -using namespace boost; -using namespace std; +using boost::lock_guard; +using boost::mutex; +using boost::shared_ptr; +using std::deque; +using std::min; +using std::list; +using std::vector; namespace pv { namespace data { @@ -202,7 +207,8 @@ void DecoderStack::decode_proc(shared_ptr data) srd_session_start(session); for (int64_t i = 0; - !this_thread::interruption_requested() && i < sample_count; + !boost::this_thread::interruption_requested() && + i < sample_count; i += DecodeChunkLength) { lock_guard decode_lock(_global_decode_mutex);