From 3cd5294d8a337ee5cd2ec894c9fbe04ad3a7690d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 1 Sep 2015 11:14:27 +0200 Subject: Implemented strict locking of global lists --- eit.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'eit.h') diff --git a/eit.h b/eit.h index b5523728..51af6433 100644 --- a/eit.h +++ b/eit.h @@ -4,21 +4,29 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: eit.h 2.1 2010/01/03 15:28:34 kls Exp $ + * $Id: eit.h 4.1 2015/07/25 11:03:53 kls Exp $ */ #ifndef __EIT_H #define __EIT_H #include "filter.h" +#include "tools.h" + +class cSectionSyncerEntry : public cListObject, public cSectionSyncer {}; + +class cSectionSyncerHash : public cHash {}; class cEitFilter : public cFilter { private: + cMutex mutex; + cSectionSyncerHash sectionSyncerHash; static time_t disableUntil; protected: virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length); public: cEitFilter(void); + virtual void SetStatus(bool On); static void SetDisableUntil(time_t Time); }; -- cgit v1.2.3