summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-11 13:41:29 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-11 13:41:29 +0100
commit2772964f99e7b14888d1faf4a2d3915e54f3e924 (patch)
tree07e36d6e8290ac3f2099a7ac31cf020c454b1670 /epg.c
parentb3891d831901da5e6ced3c022a3245a8f9f0bed7 (diff)
downloadvdr-2772964f99e7b14888d1faf4a2d3915e54f3e924.tar.gz
vdr-2772964f99e7b14888d1faf4a2d3915e54f3e924.tar.bz2
The epg.data file is now read in a separate thread
Diffstat (limited to 'epg.c')
-rw-r--r--epg.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/epg.c b/epg.c
index e1e317d5..0cce64d9 100644
--- a/epg.c
+++ b/epg.c
@@ -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.c 2.8 2012/01/08 14:59:38 kls Exp $
+ * $Id: epg.c 2.9 2012/02/11 12:33:04 kls Exp $
*/
#include "epg.h"
@@ -1284,3 +1284,15 @@ const cSchedule *cSchedules::GetSchedule(const cChannel *Channel, bool AddIfMiss
}
return Channel->schedule != &DummySchedule? Channel->schedule : NULL;
}
+
+// --- cEpgDataReader --------------------------------------------------------
+
+cEpgDataReader::cEpgDataReader(void)
+:cThread("epg data reader")
+{
+}
+
+void cEpgDataReader::Action(void)
+{
+ cSchedules::Read();
+}