diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-11 13:41:29 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-11 13:41:29 +0100 |
commit | 2772964f99e7b14888d1faf4a2d3915e54f3e924 (patch) | |
tree | 07e36d6e8290ac3f2099a7ac31cf020c454b1670 /epg.c | |
parent | b3891d831901da5e6ced3c022a3245a8f9f0bed7 (diff) | |
download | vdr-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.c | 14 |
1 files changed, 13 insertions, 1 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.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(); +} |