aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/epgcache.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-04-03 21:03:16 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-04-03 21:03:16 +0000
commit2c76959422e7f57e43a359ff1d5ceb74dc4232d5 (patch)
tree765e6b96e65f2c5f43146a68bb5fd305ad934747 /lib/dvb/epgcache.cpp
parent0b93abf527c246663351f518fea47e28cc4eabc7 (diff)
downloadenigma2-2c76959422e7f57e43a359ff1d5ceb74dc4232d5.tar.gz
enigma2-2c76959422e7f57e43a359ff1d5ceb74dc4232d5.zip
follow eThread changes: mainly thread_running -> sync, hasStarted()
Diffstat (limited to 'lib/dvb/epgcache.cpp')
-rw-r--r--lib/dvb/epgcache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp
index 7c7dd6b2..79012d38 100644
--- a/lib/dvb/epgcache.cpp
+++ b/lib/dvb/epgcache.cpp
@@ -177,12 +177,11 @@ eEPGCache::eEPGCache()
void eEPGCache::timeUpdated()
{
- if ( !thread_running() )
+ if (!sync())
{
eDebug("[EPGC] time updated.. start EPG Mainloop");
run();
- }
- else
+ } else
messages.send(Message(Message::timeChanged));
}
@@ -692,6 +691,7 @@ void eEPGCache::gotMessage( const Message &msg )
void eEPGCache::thread()
{
+ hasStarted();
nice(4);
load();
cleanLoop();