diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-09-24 13:41:54 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-09-24 13:41:54 +0200 |
commit | 6f1577a65954ee8a39af033ea96b92409c548eeb (patch) | |
tree | d223011214ad4ba2514d470f9ff1563c2a910dcd /epg.h | |
parent | 7cdfca45f4da02fdad4bbccebe9ba05da93610e0 (diff) | |
download | vdr-6f1577a65954ee8a39af033ea96b92409c548eeb.tar.gz vdr-6f1577a65954ee8a39af033ea96b92409c548eeb.tar.bz2 |
Moved cleaning up the EPG data and writing the epg.data file into a separate thread to avoid sluggish response to user input on slow systems
Diffstat (limited to 'epg.h')
-rw-r--r-- | epg.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * - * $Id: epg.h 2.14 2012/08/25 11:15:18 kls Exp $ + * $Id: epg.h 2.15 2012/09/24 12:53:53 kls Exp $ */ #ifndef __EPG_H @@ -193,7 +193,6 @@ private: cRwLock rwlock; static cSchedules schedules; static char *epgDataFileName; - static time_t lastCleanup; static time_t lastDump; static time_t modified; public: @@ -207,7 +206,7 @@ public: static void Cleanup(bool Force = false); static void ResetVersions(void); static bool ClearAll(void); - static bool Dump(FILE *f, const char *Prefix = "", eDumpMode DumpMode = dmAll, time_t AtTime = 0); + static bool Dump(FILE *f = NULL, const char *Prefix = "", eDumpMode DumpMode = dmAll, time_t AtTime = 0); static bool Read(FILE *f = NULL); cSchedule *AddSchedule(tChannelID ChannelID); const cSchedule *GetSchedule(tChannelID ChannelID) const; @@ -220,7 +219,7 @@ public: virtual void Action(void); }; -void ReportEpgBugFixStats(bool Reset = false); +void ReportEpgBugFixStats(bool Force = false); class cEpgHandler : public cListObject { public: |