diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-09-01 11:14:27 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-09-01 11:14:27 +0200 |
commit | 3cd5294d8a337ee5cd2ec894c9fbe04ad3a7690d (patch) | |
tree | da57ce74189de9bfb27e1a747063c37cd62de501 /eit.h | |
parent | 8a7bc6a0bbf60cae8b6391a630880aad5cba3363 (diff) | |
download | vdr-3cd5294d8a337ee5cd2ec894c9fbe04ad3a7690d.tar.gz vdr-3cd5294d8a337ee5cd2ec894c9fbe04ad3a7690d.tar.bz2 |
Implemented strict locking of global lists
Diffstat (limited to 'eit.h')
-rw-r--r-- | eit.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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<cSectionSyncerEntry> {}; 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); }; |