diff options
-rw-r--r-- | p2pvr/devices/sampleSiData/events2.datxz | bin | 417328 -> 1108428 bytes | |||
-rw-r--r-- | p2pvr/dvb/unittests/createSamples.cpp | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/p2pvr/devices/sampleSiData/events2.datxz b/p2pvr/devices/sampleSiData/events2.datxz Binary files differindex 138fc4d..b2fa9c2 100644 --- a/p2pvr/devices/sampleSiData/events2.datxz +++ b/p2pvr/devices/sampleSiData/events2.datxz diff --git a/p2pvr/dvb/unittests/createSamples.cpp b/p2pvr/dvb/unittests/createSamples.cpp index affa123..d2f7e23 100644 --- a/p2pvr/dvb/unittests/createSamples.cpp +++ b/p2pvr/dvb/unittests/createSamples.cpp @@ -50,11 +50,15 @@ class SiSampleCollector : public Base { bool NewData(const P2PVR::Data & bytes, const Ice::Current & ice) override { + std::lock_guard<std::mutex> g(lock); packets.push_back(bytes); return SiTableParserBase::NewData(bytes, ice); } std::list<P2PVR::Data> packets; + + private: + std::mutex lock; }; template <class Base, class Object> |